cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [4/8] git commit: update comments
Date Wed, 08 Feb 2012 23:44:08 GMT
update comments


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

Branch: refs/heads/cassandra-1.0
Commit: d9ed0378786b4bbd6e07e5ea2801cd34d35a2258
Parents: 63da881
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Wed Feb 8 17:42:54 2012 -0600
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Wed Feb 8 17:42:54 2012 -0600

----------------------------------------------------------------------
 .../org/apache/cassandra/db/ColumnFamilyStore.java |    2 +-
 src/java/org/apache/cassandra/db/Table.java        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d9ed0378/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 8ee9d9f..7a1cd20 100644
--- a/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
+++ b/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
@@ -666,7 +666,7 @@ public class ColumnFamilyStore implements ColumnFamilyStoreMBean
          * all ongoing updates to memtables have completed. We can get the tail
          * of the log and use it as the starting position for log replay on recovery.
          *
-         * This is why we Table.flusherLock needs to be global instead of per-Table:
+         * This is why we Table.switchLock needs to be global instead of per-Table:
          * we need to schedule discardCompletedSegments calls in the same order as their
          * contexts (commitlog position) were read, even though the flush executor
          * is multithreaded.

http://git-wip-us.apache.org/repos/asf/cassandra/blob/d9ed0378/src/java/org/apache/cassandra/db/Table.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/Table.java b/src/java/org/apache/cassandra/db/Table.java
index 7b53ea4..0168f0c 100644
--- a/src/java/org/apache/cassandra/db/Table.java
+++ b/src/java/org/apache/cassandra/db/Table.java
@@ -67,7 +67,7 @@ public class Table
 
     /**
      * accesses to CFS.memtable should acquire this for thread safety.
-     * Table.maybeSwitchMemtable should aquire the writeLock; see that method for the full
explanation.
+     * CFS.maybeSwitchMemtable should aquire the writeLock; see that method for the full
explanation.
      *
      * (Enabling fairness in the RRWL is observed to decrease throughput, so we leave it
off.)
      */


Mime
View raw message