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

Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)