Skip to content

Improve LoadBalancer#all_caught_up? logic [RUN ALL RSPEC] [RUN AS-IF-FOSS]

What does this MR do?

With the old logic, having a single stale/lagging replica would not allow us to use caught-up replicas, which would increase the load to primary where we could avoid it.

Also adding the comments on the possible improvements of the similar method.

FF rollout issue: #334989 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

N/A

Related to #326125 (closed)

Edited by Aleksei Lipniagov

Merge request reports