Zookeeper - writes to nodes

If the leader writes to majority and confirms success, a subsequent reader on that node (from a minority!) might send a write request that (most) likely fails (dirty read). What is the reason for this design strategy?

1 Answer(s)



The leader only takes care about updating a config value which was updated by one of the clients. This was designed so that the clients can work on one copy/version of the configuration or data and it also helps in addressing deadlock situations