News for hackers. Stuff that matters.
Re:In search of a simple consensus algorithm by iambvk on Friday March 17, 2017 @12:33PM (#13895337)
When leader is not around, isn't a majority read sufficient?
Re:In search of a simple consensus algorithm by krenoten on Friday March 17, 2017 @01:34PM (#13896018)
It 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.