cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Coli (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1856) nodetool "snapshot" improvements
Date Tue, 14 Dec 2010 00:40:11 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Coli updated CASSANDRA-1856:
-----------------------------------

    Priority: Trivial  (was: Major)

> 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
>            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.


Mime
View raw message