You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Victor Z. Peng (Commented) (JIRA)" <ji...@apache.org> on 2011/11/04 21:03:51 UTC

[jira] [Commented] (CASSANDRA-556) nodeprobe snapshot to support specific column families

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

Victor Z. Peng commented on CASSANDRA-556:
------------------------------------------

It seems the implementation is not very hard, we simply just add more helper functions that could handle the request to snapshot a subset of columns, since org.apache.cassandra.db.Table#snapshot is snapshotting columns one by one already.

One thing's worth discussing is how we support specifying both multi-tables and multi-columns simultaneously via NodeTool in CLI.

What i propose is we add a '-c' option, which will accept an argument as column names. Since an option can accept at most on argument, the argument can be formatted as comma separated string: "-c col1,col2,col3". When -c is absent, we default it to all columns. Does this sound ok?
                
> nodeprobe snapshot to support specific column families
> ------------------------------------------------------
>
>                 Key: CASSANDRA-556
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-556
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Chris Were
>            Priority: Minor
>              Labels: lhf
>
> It would be good to support dumping specific column families via nodeprobe for backup purposes.
> In my particular case the majority of cassandra data doesn't need to be backed up except for a couple of column families containing user settings / profiles etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira