cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: remove dead calculation of 'gcBefore'
Date Thu, 03 Jan 2013 04:43:30 GMT
Updated Branches:
  refs/heads/trunk 210543588 -> f6a8cc53f


remove dead calculation of 'gcBefore'


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

Branch: refs/heads/trunk
Commit: f6a8cc53fdad0e5ff620c1f97848a07bcce97880
Parents: 2105435
Author: Dave Brosius <dbrosius@apache.org>
Authored: Wed Jan 2 23:42:35 2013 -0500
Committer: Dave Brosius <dbrosius@apache.org>
Committed: Wed Jan 2 23:42:35 2013 -0500

----------------------------------------------------------------------
 .../org/apache/cassandra/db/ColumnFamilyStore.java |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/f6a8cc53/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/ColumnFamilyStore.java b/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
index 9aa0d6d..b8c300f 100644
--- a/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
+++ b/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
@@ -1369,7 +1369,6 @@ public class ColumnFamilyStore implements ColumnFamilyStoreMBean
         try
         {
             final CloseableIterator<Row> iterator = RowIteratorFactory.getIterator(view.memtables,
view.sstables, startWith, stopAt, filter, this);
-            final int gcBefore = (int)(System.currentTimeMillis() / 1000) - metadata.getGcGraceSeconds();
 
             return new AbstractScanIterator()
             {


Mime
View raw message