cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alek...@apache.org
Subject [1/3] git commit: Make CFMetaData.memtableFlushPeriod volatile
Date Wed, 05 Nov 2014 13:32:35 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk af44d1a7c -> 47099c278


Make CFMetaData.memtableFlushPeriod volatile


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

Branch: refs/heads/trunk
Commit: 32da3c8cdae4d48511345bc44081759a6b7268c7
Parents: 11e6571
Author: Aleksey Yeschenko <aleksey@apache.org>
Authored: Wed Nov 5 16:30:08 2014 +0300
Committer: Aleksey Yeschenko <aleksey@apache.org>
Committed: Wed Nov 5 16:30:08 2014 +0300

----------------------------------------------------------------------
 src/java/org/apache/cassandra/config/CFMetaData.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/32da3c8c/src/java/org/apache/cassandra/config/CFMetaData.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/config/CFMetaData.java b/src/java/org/apache/cassandra/config/CFMetaData.java
index 60eb70e..391341f 100644
--- a/src/java/org/apache/cassandra/config/CFMetaData.java
+++ b/src/java/org/apache/cassandra/config/CFMetaData.java
@@ -390,7 +390,7 @@ public final class CFMetaData
     private volatile Double bloomFilterFpChance = null;
     private volatile Caching caching = DEFAULT_CACHING_STRATEGY;
     private volatile int indexInterval = DEFAULT_INDEX_INTERVAL;
-    private int memtableFlushPeriod = 0;
+    private volatile int memtableFlushPeriod = 0;
     private volatile int defaultTimeToLive = DEFAULT_DEFAULT_TIME_TO_LIVE;
     private volatile SpeculativeRetry speculativeRetry = DEFAULT_SPECULATIVE_RETRY;
     private volatile boolean populateIoCacheOnFlush = DEFAULT_POPULATE_IO_CACHE_ON_FLUSH;


Mime
View raw message