cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gautam Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-10020) Range queries don't go on all replicas.
Date Fri, 07 Aug 2015 20:55:45 GMT
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)

Mime
View raw message