Re: Expected behavior of number of nodes contacted during CL=QUORUM read

2012-10-04 Thread Jonathan Ellis
The API page is incorrect. Cassandra only contacts enough nodes to satisfy the requested CL. https://issues.apache.org/jira/browse/CASSANDRA-4705 and https://issues.apache.org/jira/browse/CASSANDRA-2540 are relevant to the fragility that can result as you say. (Although, unless you are doing zero

Re: Expected behavior of number of nodes contacted during CL=QUORUM read

2012-10-04 Thread Brandon Williams
On Thu, Oct 4, 2012 at 1:25 PM, Kirk True wrote: > Hi all, > > Test scenario: > > 4 nodes (.1, .2, .3, .4) > RF=3 > CL=QUORUM > 1.1.2 > > I noticed that in ReadCallback's constructor, it determines the 'blockfor' > number of 2 for RF=3, CL=QUORUM. Which is correct. floor(3/2) = 1