Draft: Higher query limit for EnqueuerWorker
What does this MR do and why?
The new code path for the Enqueuer is:
if migration.higher_query_limit?
break unless runnable?
if handle_aborted_migration
re_enqueue_if_capacity
break
end
next_repositories.each do |repository|
handle_next_migration(repository)
end
else
...
Other aspects of the EnqueuerWorker are just methods refactored to take a container_repository
as a param rather than using next_repository
to fetch the memoized one.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
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: #362537 (closed)
Edited by Steve Abrams