Skip to content

WebHookWorker affected by JobReplicaNotUpToDate errors

What does this MR do and why?

Changes the sleep logic in the middleware lib/gitlab/database/load_balancing/sidekiq_server_middleware.rb We are introducing delay of up to 1.5 seconds, while still having higher throughput.

Renames #not_yet_retried? to #not_yet_requeued? to separate those two notions from each other.

Removes stub of non-existing feature flag load_balancing_for_test_data_consistency_worker.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #395709 (closed)

Edited by Bojan Marjanovic

Merge request reports