You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: allow read-only operations when all masters are down
Read-only operations (get, select, count, min, max) used to fail with
connection errors if all masters in the cluster were unavailable, even
when healthy replicas were up and failover hadn't processed yet.
To resolve this, the following improvements were made:
- Introduced a `read_only` flag to `utils.get_space[s]` to fetch cluster
schema from any healthy replica if masters are down.
- Updated `get`, `select`, `count`, `min`, `max` to use this new flag.
- Rewrote `call.any` to iterate through all replicasets and utilize
vshard's `callro` instead of `call` to fetch metadata from replicas.
0 commit comments