Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46C5C18D41 for ; Fri, 7 Aug 2015 20:55:46 +0000 (UTC) Received: (qmail 3474 invoked by uid 500); 7 Aug 2015 20:55:46 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 3437 invoked by uid 500); 7 Aug 2015 20:55:46 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 3426 invoked by uid 99); 7 Aug 2015 20:55:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2015 20:55:46 +0000 Date: Fri, 7 Aug 2015 20:55:45 +0000 (UTC) From: "Gautam Kumar (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-10020) Range queries don't go on all replicas. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)