Sam Tunnicliffe created CASSANDRA-14938:
-------------------------------------------

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

Reply via email to