WebHookWorker affected by JobReplicaNotUpToDate errors
requested to merge bmarjanovic/395709-webhookworker-affected-by-jobreplicanotuptodate-errors into master
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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #395709 (closed)
Edited by Bojan Marjanovic