Mark all remaining Direct transfer workers as idempotent
What does this MR do and why?
Making remaining delayed jobs as idempotent!
after caching strategies have been implemented
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Run import via direct transfer
- Restart the sidekiq worker along the way
- Import should still complete successfully
- You can check to see if there's any errors by going to the history page: http://gdk.test:3000/import/bulk_imports/history
- To test sidekiq failures, insert
raise StandardError
in either the worker or pipelines. After the worker retries 3 times, it'll log the error as well as insert intobulk_import_failures
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #382498 (closed)
Edited by Max Fan