You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ja...@apache.org on 2015/07/30 02:55:25 UTC

[7/7] cassandra git commit: Fix keyspace drop issue caused by MV

Fix keyspace drop issue caused by MV


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

Branch: refs/heads/trunk
Commit: b5045356dcd0cd87398057ebcf84bab42c2e5d6f
Parents: f0be890
Author: T Jake Luciani <ja...@apache.org>
Authored: Wed Jul 29 18:46:46 2015 -0400
Committer: T Jake Luciani <ja...@apache.org>
Committed: Wed Jul 29 18:46:46 2015 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/schema/SchemaKeyspace.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/b5045356/src/java/org/apache/cassandra/schema/SchemaKeyspace.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/schema/SchemaKeyspace.java b/src/java/org/apache/cassandra/schema/SchemaKeyspace.java
index 8dc25d4..1f1a3dd 100644
--- a/src/java/org/apache/cassandra/schema/SchemaKeyspace.java
+++ b/src/java/org/apache/cassandra/schema/SchemaKeyspace.java
@@ -701,8 +701,7 @@ public final class SchemaKeyspace
         Mutation mutation = new Mutation(NAME, getSchemaKSDecoratedKey(keyspace.name));
         for (CFMetaData schemaTable : All)
             mutation.add(PartitionUpdate.fullPartitionDelete(schemaTable, mutation.key(), timestamp, nowInSec));
-        mutation.add(PartitionUpdate.fullPartitionDelete(SystemKeyspace.BuiltMaterializedViews, mutation.key(), timestamp, nowInSec));
-        mutation.add(PartitionUpdate.fullPartitionDelete(SystemKeyspace.MaterializedViewsBuildsInProgress, mutation.key(), timestamp, nowInSec));
+
         return mutation;
     }