Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # dev >> Quorum reads on zookeeper


Copy link to this message
-
Re: Quorum reads on zookeeper
Because the leader is the one who leads all writes, it suffices to catch up
with that one node.  There is no need to read from a quorum.  Another way
to look at this is that there is no way for a quorum read to succeed
without there also existing a leader and one read to the leader is better
than trying to read from the entire cluster.

On Tue, Mar 26, 2013 at 6:37 AM, Abhishek .E.S <[EMAIL PROTECTED]>wrote:

> Hi,
>
> Zookeeper suggests using sync if the most up to date value is required for
> reading.
> Would it be possible to use Quorum reads for ensuring up to date reads ?
>
> There is a function called  isQuorum for indicating quorum requirement for
> operations. Read is listed as not requiring forum in this function
> How would changing this to true impact the behavior ?
>
> Any pointers would be appreciated.
>
> -Abhishek
>