Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3038

nodetool snapshot does not handle keyspace arguments correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.8.5
    • Tool/nodetool
    • None
    • Low

    Description

      Given the following invocation:
      ./bin/nodetool snapshot Keyspace1 -t keyspace1_snapshot -h localhost

      Snapshots are made for all keyspaces

      Given a multi-keyspace invocation:
      ./bin/nodetool snapshot Keyspace1 Keyspace2 Keyspac3 -t keyspace1_snapshot -h localhost

      Snapshots will be made for Keyspace2 and Keyspace3 but not Keyspace1.

      It appears there is just some antiquated command argument noodling in NodeCmd#handleSnapshots

      Attachments

        1. 3038.txt
          1 kB
          Nate McCall

        Activity

          People

            zznate Nate McCall
            zznate Nate McCall
            Nate McCall
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: