Skip to content

Reduce the quiet times between scheduler runs on Geo secondaries

What does this MR do?

Schedules the two Geo secondary scheduler workers every minute, rather than every 5 minutes

Are there points in the code the reviewer needs to double check?

I think the tradeoff is worthwhile. Backfill taking a week (168 hours) with the current code could take ~158 hours instead, at the cost of around 13 minutes of sidekiq walltime for the extra canceled jobs.

Why was this MR needed?

This change reduces the total amount of time a Geo secondary will stand idle. In the best case, it will reduce idling from 7.7% of the time to 1.5% of the time, so improving backfill performance at the cost of a slightly higher background rate of jobs.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #3813 (closed)

Merge request reports