Skip to content

WIP: Resolve "Geo: restarting sidekiq doesn't cause BaseSchedulerWorker leases to be returned"

What does this MR do?

Instead of using Gitlab::ExclusiveLease, we store the Sidekiq job_id in the tracking database and use it to check whether a scheduler is running.

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

Why was this MR needed?

Restarting Sidekiq doesn't cause BaseSchedulerWorker leases to be returned.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #3568 (closed)

Merge request reports