tarantool / vshard

The new generation of sharding based on virtual buckets
Other
100 stars 30 forks source link

Read request must not fail even if failover didn't happen yet #288

Closed Gerold103 closed 2 years ago

Gerold103 commented 3 years ago

Currently if replicaset.replica is not set and master is not available (after master auto-discovery it might easily happen), the read requests might fail. Even if there are replicas not equal to replicaset.replica nor to replicaset.master. It might be better to failover to a working replica right away without waiting for the failover fiber to catch up.