cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject [2/3] cassandra git commit: remove leftover code from refactor patch by dbrosius, reviewed by rstupp for CASSANDRA-10918
Date Thu, 24 Dec 2015 00:12:19 GMT
remove leftover code from refactor
patch by dbrosius, reviewed by rstupp for CASSANDRA-10918


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

Branch: refs/heads/trunk
Commit: 8bafc180b62f9bb60ac50a1d87e510bfa9952fcf
Parents: 867fd8e
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Wed Dec 23 19:06:34 2015 -0500
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Wed Dec 23 19:06:34 2015 -0500

----------------------------------------------------------------------
 .../cassandra/db/commitlog/CommitLogSegmentManager.java       | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/8bafc180/src/java/org/apache/cassandra/db/commitlog/CommitLogSegmentManager.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/commitlog/CommitLogSegmentManager.java b/src/java/org/apache/cassandra/db/commitlog/CommitLogSegmentManager.java
index a514028..564652f 100644
--- a/src/java/org/apache/cassandra/db/commitlog/CommitLogSegmentManager.java
+++ b/src/java/org/apache/cassandra/db/commitlog/CommitLogSegmentManager.java
@@ -293,13 +293,6 @@ public class CommitLogSegmentManager
 
         // make sure the writes have materialized inside of the memtables by waiting for
all outstanding writes
         // on the relevant keyspaces to complete
-        Set<Keyspace> keyspaces = new HashSet<>();
-        for (UUID cfId : last.getDirtyCFIDs())
-        {
-            ColumnFamilyStore cfs = Schema.instance.getColumnFamilyStoreInstance(cfId);
-            if (cfs != null)
-                keyspaces.add(cfs.keyspace);
-        }
         Keyspace.writeOrder.awaitNewBarrier();
 
         // flush and wait for all CFs that are dirty in segments up-to and including 'last'


Mime
View raw message