[jira] [Updated] (CASSANDRA-14938) Use a stub IndexRegistry when initialised in non-daemon mode

2019-01-09 Thread Sam Tunnicliffe (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-14938:

Resolution: Fixed
Status: Resolved  (was: Ready to Commit)

Thanks, committed to trunk in {{3ddfbc8f5871c78bde26e96a936e96deeccb4366}}

> Use a stub IndexRegistry when initialised in non-daemon mode
> 
>
> Key: CASSANDRA-14938
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14938
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Legacy/CQL, Legacy/Testing
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Minor
> Fix For: 4.0
>
>
> Offline processing of FQL logs for workload analysis or replay testing would 
> benefit from being able to use C* as a library for parsing and preparation of 
> the recorded CQL queries. One thing which makes this difficult is that 
> preparing CQL statements involves validating any index restrictions via the 
> {{IndexRegistry}} which means instantiating a {{ColumnFamilyStore}}, which 
> has several side effects that are troublesome in an offline environment.  
> In the FQL processing use case this validation is unnecessary and I imagine 
> this is true for most, if not all, offline tools. In these cases, we could 
> use a stub {{IndexRegistry}} which enables validation to succeed, but which 
> doesn't provide any real functionality. 



--
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-14938) Use a stub IndexRegistry when initialised in non-daemon mode

2018-12-20 Thread Marcus Eriksson (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Eriksson updated CASSANDRA-14938:

Status: Ready to Commit  (was: Patch Available)

> Use a stub IndexRegistry when initialised in non-daemon mode
> 
>
> Key: CASSANDRA-14938
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14938
> Project: Cassandra
>  Issue Type: Improvement
>  Components: CQL, Testing
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Minor
> Fix For: 4.0
>
>
> Offline processing of FQL logs for workload analysis or replay testing would 
> benefit from being able to use C* as a library for parsing and preparation of 
> the recorded CQL queries. One thing which makes this difficult is that 
> preparing CQL statements involves validating any index restrictions via the 
> {{IndexRegistry}} which means instantiating a {{ColumnFamilyStore}}, which 
> has several side effects that are troublesome in an offline environment.  
> In the FQL processing use case this validation is unnecessary and I imagine 
> this is true for most, if not all, offline tools. In these cases, we could 
> use a stub {{IndexRegistry}} which enables validation to succeed, but which 
> doesn't provide any real functionality. 



--
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-14938) Use a stub IndexRegistry when initialised in non-daemon mode

2018-12-17 Thread Marcus Eriksson (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Eriksson updated CASSANDRA-14938:

Reviewers: Marcus Eriksson

> Use a stub IndexRegistry when initialised in non-daemon mode
> 
>
> Key: CASSANDRA-14938
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14938
> Project: Cassandra
>  Issue Type: Improvement
>  Components: CQL, Testing
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Minor
> Fix For: 4.0
>
>
> Offline processing of FQL logs for workload analysis or replay testing would 
> benefit from being able to use C* as a library for parsing and preparation of 
> the recorded CQL queries. One thing which makes this difficult is that 
> preparing CQL statements involves validating any index restrictions via the 
> {{IndexRegistry}} which means instantiating a {{ColumnFamilyStore}}, which 
> has several side effects that are troublesome in an offline environment.  
> In the FQL processing use case this validation is unnecessary and I imagine 
> this is true for most, if not all, offline tools. In these cases, we could 
> use a stub {{IndexRegistry}} which enables validation to succeed, but which 
> doesn't provide any real functionality. 



--
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-14938) Use a stub IndexRegistry when initialised in non-daemon mode

2018-12-14 Thread Sam Tunnicliffe (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-14938:

Status: Patch Available  (was: Open)

||branch||CI||
|[14938-trunk|https://github.com/beobal/cassandra/tree/14938-trunk]|[circle|https://circleci.com/gh/beobal/workflows/cassandra/tree/cci%2F14938-trunk]|

> Use a stub IndexRegistry when initialised in non-daemon mode
> 
>
> Key: CASSANDRA-14938
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14938
> Project: Cassandra
>  Issue Type: Improvement
>  Components: CQL, Testing
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Minor
> Fix For: 4.0
>
>
> Offline processing of FQL logs for workload analysis or replay testing would 
> benefit from being able to use C* as a library for parsing and preparation of 
> the recorded CQL queries. One thing which makes this difficult is that 
> preparing CQL statements involves validating any index restrictions via the 
> {{IndexRegistry}} which means instantiating a {{ColumnFamilyStore}}, which 
> has several side effects that are troublesome in an offline environment.  
> In the FQL processing use case this validation is unnecessary and I imagine 
> this is true for most, if not all, offline tools. In these cases, we could 
> use a stub {{IndexRegistry}} which enables validation to succeed, but which 
> doesn't provide any real functionality. 



--
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