cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-7681) Ninja: DefsTable.mergeSchemaInternal
Date Sun, 03 Aug 2014 20:17:11 GMT
Robert Stupp created CASSANDRA-7681:
---------------------------------------

             Summary: Ninja: DefsTable.mergeSchemaInternal
                 Key: CASSANDRA-7681
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7681
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Robert Stupp
            Assignee: Robert Stupp
            Priority: Trivial


{noformat}
+++ b/src/java/org/apache/cassandra/db/DefsTables.java
@@ -171,7 +171,7 @@ public class DefsTables
         // compare before/after schemas of the affected keyspaces only
         Set<String> keyspaces = new HashSet<>(mutations.size());
         for (Mutation mutation : mutations)
-            keyspaces.add(ByteBufferUtil.string(mutation.key()));
+            keyspaces.add(mutation.getKeyspaceName());
 
         // current state of the schema
         Map<DecoratedKey, ColumnFamily> oldKeyspaces = SystemKeyspace.getSchema(SystemKeyspace.SCHEMA_KEYSPACES_CF,
keyspaces);
{noformat}




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message