cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lyuben Todorov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4809) Allow restoring specific column families from archived commitlog
Date Mon, 07 Oct 2013 09:35:43 GMT

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

Lyuben Todorov commented on CASSANDRA-4809:
-------------------------------------------

The patch works as intended. To specify a particular ks/cf to be archived we need to add parameters
when starting cassandra.

{code}
./cassandra -Dcassandra.readKeyspaceCommitlog=exampleKS -Dcassandra.readColumnFamilyCommitlog=exampleCF
{code}

Maybe it would be a better option to add restore_keyspace and restore_columnfamily config
options to commitlog_archiving.properties. If the original setup is preferable I'll rebase
the patch (it doesn't apply cleanly because of other changes on the branch).

> Allow restoring specific column families from archived commitlog
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-4809
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4809
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 1.2.0
>            Reporter: Nick Bailey
>            Assignee: Lyuben Todorov
>              Labels: lhf
>             Fix For: 2.0.2
>
>         Attachments: 4809.patch
>
>
> Currently you can only restore the entire contents of a commit log archive. It would
be useful to specify the keyspaces/column families you want to restore from an archived commitlog.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message