Skip to content

Geo: Update usages of files_max_capacity

Michael Kozono requested to merge mk/update-sync-capacity into master

What does this MR do?

files_max_capacity limits both RegistrySyncWorker and FileDownloadDispatchWorker concurrent jobs like so:

  • FileDownloadDispatchWorker may schedule up to 100% of files_max_capacity
  • RegistrySyncWorker may schedule up to 25% of files_max_capacity
  • Combined, they may use up to 125% of files_max_capacity.

Now that there are 4 models replicated by RegistrySyncWorker vs 3 models replicated by FileDownloadDispatchWorker, we should adjust this. This MR does this:

  • FileDownloadDispatchWorker may schedule up to 50% of files_max_capacity
  • RegistrySyncWorker may schedule up to 50% of files_max_capacity
  • Combined, they may use up to 100% of files_max_capacity.

Note that: #294074 (closed) is separate issue. And when legacy blob models (uploads, lfs, artifacts) are migrated to the Geo framework, FileDownloadDispatchWorker will go away and we can make RegistrySyncWorker use all of files_max_capacity.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Michael Kozono

Merge request reports

Loading