[jira] [Commented] (CASSANDRA-11520) Implement optimized local read path for CL.ONE

2016-07-07 Thread Stefania (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-11520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15365770#comment-15365770
 ] 

Stefania commented on CASSANDRA-11520:
--

This functionality will be delivered by CASSANDRA-11521, only for range queries 
at CL.ONE with no indexes applicable to the query.

> Implement optimized local read path for CL.ONE
> --
>
> Key: CASSANDRA-11520
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11520
> Project: Cassandra
>  Issue Type: Sub-task
>  Components: CQL, Local Write-Read Paths
>Reporter: Stefania
>Assignee: Stefania
> Fix For: 3.x
>
>
> -Add an option to the CQL SELECT statement to- Bypass the coordination layer 
> when reading locally at CL.ONE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-11520) Implement optimized local read path for CL.ONE

2016-04-07 Thread Stefania (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-11520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15231454#comment-15231454
 ] 

Stefania commented on CASSANDRA-11520:
--

That's a very good point. We should apply this optimization only when repair 
decision and speculative retry are set to NONE. We basically apply this 
optimization only when there is a single target replica selected, and it 
happens to be the local host.

> Implement optimized local read path for CL.ONE
> --
>
> Key: CASSANDRA-11520
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11520
> Project: Cassandra
>  Issue Type: Sub-task
>  Components: CQL, Local Write-Read Paths
>Reporter: Stefania
>Assignee: Stefania
> Fix For: 3.x
>
>
> -Add an option to the CQL SELECT statement to- Bypass the coordination layer 
> when reading locally at CL.ONE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-11520) Implement optimized local read path for CL.ONE

2016-04-07 Thread Aleksey Yeschenko (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-11520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15230167#comment-15230167
 ] 

Aleksey Yeschenko commented on CASSANDRA-11520:
---

Beware read repair and speculative retry.

> Implement optimized local read path for CL.ONE
> --
>
> Key: CASSANDRA-11520
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11520
> Project: Cassandra
>  Issue Type: Sub-task
>  Components: CQL, Local Write-Read Paths
>Reporter: Stefania
>Assignee: Stefania
> Fix For: 3.x
>
>
> -Add an option to the CQL SELECT statement to- Bypass the coordination layer 
> when reading locally at CL.ONE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-11520) Implement optimized local read path for CL.ONE

2016-04-07 Thread Stefania (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-11520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15229886#comment-15229886
 ] 

Stefania commented on CASSANDRA-11520:
--

No need to change the syntax of SELECT, it should be fine to always apply the 
special case. I will amend the description.




> Implement optimized local read path for CL.ONE
> --
>
> Key: CASSANDRA-11520
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11520
> Project: Cassandra
>  Issue Type: Sub-task
>  Components: CQL, Local Write-Read Paths
>Reporter: Stefania
>Assignee: Stefania
> Fix For: 3.x
>
>
> Add an option to the CQL SELECT statement to bypass the coordination layer 
> when reading local data at CL.ONE. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-11520) Implement optimized local read path for CL.ONE

2016-04-07 Thread Sylvain Lebresne (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-11520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15229864#comment-15229864
 ] 

Sylvain Lebresne commented on CASSANDRA-11520:
--

To be clear, when you say "Add an option to the CQL SELECT statement", you're 
just talking about having a special cased path when we detect the read is local 
and CL is ONE right? You're not suggesting adding new syntax to {{SELECT}}, are 
you?

> Implement optimized local read path for CL.ONE
> --
>
> Key: CASSANDRA-11520
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11520
> Project: Cassandra
>  Issue Type: Sub-task
>  Components: CQL, Local Write-Read Paths
>Reporter: Stefania
>Assignee: Stefania
> Fix For: 3.x
>
>
> Add an option to the CQL SELECT statement to bypass the coordination layer 
> when reading local data at CL.ONE. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)