nodetool "snapshot" improvements
--------------------------------
Key: CASSANDRA-1856
URL: https://issues.apache.org/jira/browse/CASSANDRA-1856
Project: Cassandra
Issue Type: Improvement
Components: Tools
Reporter: Robert Coli
Assignee: Jon Hermes
Summary : "nodetool snapshot" is actually hooked up to the MBean endpoint
takeAllSnapshot. takeAllSnapshot snapshots all CFs in all Keyspaces.
It would be good if "nodetool snapshot" took a mandatory Keyspace argument and
an optional (list of?) CF name(s?), perhaps mapped to "takeSnapshot" instead of
"takeAllSnapshot".
=Rob
PS -
As a side note, I have never been too pleased with the behavior of "nodetool
snapshot" as regards snapshot naming. Most of the time, when someone names
something something specific, it ends up actually named that something, but..
"nodetool snapshot foobarbaz"
... does not result in a snapshot at
"/path/to/datadir/Keyspace/snapshots/foobarbaz", the snapshot ends up at
"/p/t/dd/Keyspace/snapshots/<TIMESTAMPLOOKINGTHING>-foobarbaz".
When I asked jbellis about this, he basically said it was to avoid having to
deal with the possibility that the directory might already exist. If you are
mucking about in the snapshot code, you might (or might not!) want to "fix"
this behavior. :D
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.