Gautam Kumar created CASSANDRA-10020:
----------------------------------------

             Summary: Range queries don't go on all replicas. 
                 Key: CASSANDRA-10020
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10020
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Gautam Kumar
            Priority: Critical


A simple query like `select * from table` may time out if one of the nodes fail.
We had a 4-node cassandra cluster with RF=3 and CL=LOCAL_QUORUM. 
The range query is issued to only two as per ConsistencyLevel.java: 
liveEndpoints.subList(0, Math.min(liveEndpoints.size(), blockFor(keyspace)));

If a node fails amongst this sublist, the query will time out. Why don't you 
issue range queries to all replicas? 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to