You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2014/08/03 22:36:12 UTC
[jira] [Resolved] (CASSANDRA-7681) Ninja:
DefsTable.mergeSchemaInternal
[ https://issues.apache.org/jira/browse/CASSANDRA-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Stupp resolved CASSANDRA-7681.
-------------------------------------
Resolution: Invalid
mistake in thinking..........
> 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)