cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Resolved: (CASSANDRA-1856) nodetool "snapshot" improvements
Date Tue, 14 Dec 2010 13:35:04 GMT


Jonathan Ellis resolved CASSANDRA-1856.

    Resolution: Duplicate
      Assignee:     (was: Jon Hermes)

> nodetool "snapshot" improvements
> --------------------------------
>                 Key: CASSANDRA-1856
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Robert Coli
>            Priority: Trivial
> 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.

View raw message