Andrew Voumard created CASSANDRA-13003:
------------------------------------------

             Summary: Support a map of counters
                 Key: CASSANDRA-13003
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13003
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Andrew Voumard
            Priority: Minor


Would it be possible to support the dynamic addition of counters, by supporting 
a map of counters ? This would make it easier to support situations where 
counters could be added more dynamically (where their names are not known at 
design time).

If it makes it any easier, I would expect it to be ok if the current 
restriction of not being able to delete a counter remains, meaning requests to 
remove an item from the map would be ignored or return an error.

I expect it would be possible to synthesize this feature without impacting the 
core code, by dynamically adding counter columns via dynamic schema ALTER 
statements, creating something like <map_name>-<counter_name> columns on 
demand, effectively wrapping the dynamic column addition, but native cql 
support would make this task simpler.




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

Reply via email to