Skip to content

Geo: Decrease frequency of project shard schedulers when few projects to schedule

What does this MR do?

Adds a backoff time to Geo::RepositoryShardSyncWorker when there were no pending resources to sync.

The Geo::RepositoryShardSyncWorker is a backfilling job.

It's useful when the instance is bootstrapped and still has no data. If the instance is healthy and no data was manually removed from a secondary node, then the backfill would not have anything to work at anyway. It's still an important part of Geo as it works as a safe layer for when the normal synchronization fails.

What are the relevant issue numbers?

#5748 (closed)

Does this MR meet the acceptance criteria?

Closes #5748 (closed)

Edited by Gabriel Mazetto

Merge request reports