cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew F. Dennis (Commented) (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-3453) cassandra.yaml needs a directory_setting
Date Fri, 04 Nov 2011 21:55:52 GMT


Matthew F. Dennis commented on CASSANDRA-3453:

1) It is easier to backup/copy all your snapshots for all keyspaces if they are in one place
instead of having to iterate over all the keyspace directories looking for the snapshot directories.

2) it is safer when deleting snapshots (less chance of scripts/admins accidentally deleting
the keyspace instead of all the snapshots. (e.g. rm -rf /some/path/$ksname/snapshots/* where
$ksname ends up a blank space because of a script bug)
besides, checking a setting isn't very complex code wise ;)
> cassandra.yaml needs a directory_setting
> ----------------------------------------
>                 Key: CASSANDRA-3453
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Matthew F. Dennis
> cassandra.yaml really needs a config option for a snapshot directory. by default it should
be a peer folder with saved_caches, commitlog and data.
> assuming the value of that setting is /some/path/snapshot_dir then snapshots would go
into: /some/path/snapshot_dir/snapshot_name/keyspace_name/
> this makes automation, particularly around backups, much easier and gives more control
to ops

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message