[jira] [Updated] (CASSANDRA-10020) Support eager retries for range queries
[ https://issues.apache.org/jira/browse/CASSANDRA-10020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] C. Scott Andreas updated CASSANDRA-10020: - Component/s: Coordination > 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: Coordination >Reporter: Gautam Kumar >Priority: Minor > Fix For: 4.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 (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-10020) Support eager retries for range queries
[ https://issues.apache.org/jira/browse/CASSANDRA-10020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylvain Lebresne updated CASSANDRA-10020: - Fix Version/s: 3.x > 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)
[jira] [Updated] (CASSANDRA-10020) Support eager retries for range queries
[ 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)
[jira] [Updated] (CASSANDRA-10020) Support eager retries for range queries
[ https://issues.apache.org/jira/browse/CASSANDRA-10020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-10020: --- Priority: Minor (was: Critical) Issue Type: New Feature (was: Bug) Summary: Support eager retries for range queries (was: Range queries don't go on all replicas. ) 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 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)