nodetool upgradesstables should upgrade system tables.

Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-13119


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/6c5ea192
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/6c5ea192
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/6c5ea192

Branch: refs/heads/cassandra-3.11
Commit: 6c5ea192c75072ba3f7369dfc23592d6ed0c319f
Parents: 868be9c
Author: Ariel Weisberg <ariel.weisb...@datastax.com>
Authored: Fri Jan 27 17:47:33 2017 -0500
Committer: Ariel Weisberg <aweisb...@apple.com>
Committed: Wed May 3 18:13:23 2017 -0400

----------------------------------------------------------------------
 CHANGES.txt                                                      | 1 +
 src/java/org/apache/cassandra/tools/nodetool/UpgradeSSTable.java | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/6c5ea192/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 6ffddc0..bb2e3ba 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.2.10
+ * nodetool upgradesstables should upgrade system tables (CASSANDRA-13119)
  * Avoid starting gossiper in RemoveTest (CASSANDRA-13407)
  * Fix weightedSize() for row-cache reported by JMX and NodeTool 
(CASSANDRA-13393)
  * Fix JVM metric paths (CASSANDRA-13103)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/6c5ea192/src/java/org/apache/cassandra/tools/nodetool/UpgradeSSTable.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/nodetool/UpgradeSSTable.java 
b/src/java/org/apache/cassandra/tools/nodetool/UpgradeSSTable.java
index 596f353..fcb1ab2 100644
--- a/src/java/org/apache/cassandra/tools/nodetool/UpgradeSSTable.java
+++ b/src/java/org/apache/cassandra/tools/nodetool/UpgradeSSTable.java
@@ -44,7 +44,7 @@ public class UpgradeSSTable extends NodeToolCmd
     @Override
     public void execute(NodeProbe probe)
     {
-        List<String> keyspaces = parseOptionalKeyspace(args, probe);
+        List<String> keyspaces = parseOptionalKeyspace(args, probe, true);
         String[] cfnames = parseOptionalColumnFamilies(args);
 
         for (String keyspace : keyspaces)
@@ -58,4 +58,4 @@ public class UpgradeSSTable extends NodeToolCmd
             }
         }
     }
-}
\ No newline at end of file
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to