cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [2/6] git commit: don't log retry policy so often
Date Sat, 03 May 2014 18:37:42 GMT
don't log retry policy so often


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

Branch: refs/heads/cassandra-2.1
Commit: 02e0eb6378f926984df393870733e5462dd72361
Parents: aa2b769
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Sat May 3 13:33:38 2014 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Sat May 3 13:33:38 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/02e0eb63/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 bfd3b08..3fac640 100644
--- a/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
+++ b/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
@@ -290,12 +290,12 @@ public class ColumnFamilyStore implements ColumnFamilyStoreMBean
         {
             throw new RuntimeException(e);
         }
+        logger.debug("retryPolicy for {} is {}", name, this.metadata.getSpeculativeRetry());
         StorageService.optionalTasks.scheduleWithFixedDelay(new Runnable()
         {
             public void run()
             {
                 SpeculativeRetry retryPolicy = ColumnFamilyStore.this.metadata.getSpeculativeRetry();
-                logger.debug("retryPolicy for {} is {}", name, retryPolicy.value);
                 switch (retryPolicy.type)
                 {
                     case PERCENTILE:


Mime
View raw message