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 C152C17861 for ; Wed, 16 Sep 2015 08:08:46 +0000 (UTC) Received: (qmail 78577 invoked by uid 500); 16 Sep 2015 08:08:46 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 78545 invoked by uid 500); 16 Sep 2015 08:08: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 78523 invoked by uid 99); 16 Sep 2015 08:08:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2015 08:08:46 +0000 Date: Wed, 16 Sep 2015 08:08:46 +0000 (UTC) From: "Sylvain Lebresne (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-10020) Support eager retries for range queries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-10020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylvain Lebresne updated CASSANDRA-10020: ----------------------------------------- Reviewer: (was: Sylvain Lebresne) > Support eager retries for range queries > --------------------------------------- > > Key: CASSANDRA-10020 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10020 > Project: Cassandra > Issue Type: New Feature > Components: Core > Reporter: Gautam Kumar > Priority: Minor > Fix For: 3.x > > > 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)