Skip to content

Handle `select_one` queries in database load balancing

Sean McGivern requested to merge load-balancing-select-one into master

We have select going to the secondary, and select_all optionally going to the secondary, but select_one (using for methods like any?) was going to a primary via method_missing.

Similarly, if we're handling quote_column_name, we should treat sanitize_limit in the same way.

For gitlab-com/gl-infra/scalability#550 (closed).

Merge request reports