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

more reliable account event processing #6489

Merged

Conversation

escattone
Copy link
Contributor

@escattone escattone commented Feb 5, 2025

mozilla/sumo#2165

Notes

  • Since the account event tasks are idempotent, I've added a combination of acks_late and retry parameters to them. This hopefully makes them much more reliable, since they'll be retried up to 4 times if the Celery worker running the task unexpectedly crashes or the task raises an unhandled exception.
  • For experimentation, I've added a management command that can be run to process all unprocessed account events within the provided past number of days.

@escattone escattone marked this pull request as draft February 5, 2025 17:44
@escattone escattone force-pushed the more-reliable-account-event-handling branch from 5cb5181 to d9dde01 Compare February 5, 2025 20:54
@escattone escattone marked this pull request as ready for review February 5, 2025 21:02
@escattone escattone force-pushed the more-reliable-account-event-handling branch from d9dde01 to 0e17dd6 Compare February 5, 2025 21:23
@escattone escattone requested a review from akatsoulas February 5, 2025 21:27
@escattone escattone merged commit a381969 into mozilla:main Feb 7, 2025
2 checks passed
@escattone escattone deleted the more-reliable-account-event-handling branch February 7, 2025 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants