4 ms·
When leader is not around, isn't a majority read sufficient?
by iambvk 10y ago
When leader is not around, isn't a majority read sufficient?
- krenoten 10y agoIt depends on the implementation. If you have a replication system that generates a monotonic sequence ID for each update, and you have all writes block on a majority of replicas acking an update, then you can just read from a majority and pick the result with the highest monotonic identifier. This will not be consistent unless the leadership mechanism demands that leadership is chosen based on the same criteria.