Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: User profile errors on user creation #54

Closed
bmtcril opened this issue May 21, 2024 · 0 comments · Fixed by #56
Closed

bug: User profile errors on user creation #54

bmtcril opened this issue May 21, 2024 · 0 comments · Fixed by #56
Labels
backport PR backports a change from main to a named release. bug Report of or fix for something that isn't working as intended

Comments

@bmtcril
Copy link
Contributor

bmtcril commented May 21, 2024

When a new user registers in the LMS, sometimes the user profile sink gets triggered before their user profile row is written to MySQL, likely due to the transaction not being committed, causing "UserProfile does not exist" errors in the event sink job. In these cases the user does not appear in ClickHouse until they update their profile or the management command is written.

We should either see if we can run this sink on_commit instead of on_save or put in a retry delay for these jobs.

@bmtcril bmtcril added aspects v1 bug Report of or fix for something that isn't working as intended backport PR backports a change from main to a named release. labels May 21, 2024
@bmtcril bmtcril moved this to Ready for Work in Data Working Group May 21, 2024
@github-project-automation github-project-automation bot moved this from Ready for Work to Done in Data Working Group May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport PR backports a change from main to a named release. bug Report of or fix for something that isn't working as intended
Projects
Development

Successfully merging a pull request may close this issue.

1 participant