You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Gautam Kumar (JIRA)" <ji...@apache.org> on 2015/08/07 22:55:45 UTC

[jira] [Created] (CASSANDRA-10020) Range queries don't go on all replicas.

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)