cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor Z. Peng (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-556) nodeprobe snapshot to support specific column families
Date Fri, 04 Nov 2011 20:03:51 GMT

    [ 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

        

Mime
View raw message