cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [5/6] git commit: switch retryPolicy logging to debug
Date Mon, 30 Sep 2013 18:01:40 GMT
switch retryPolicy logging to debug


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

Branch: refs/heads/cassandra-2.0
Commit: 00f6173f5d80bbdfd05b725236ba96cbbca58746
Parents: ea05f5b
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Mon Sep 30 13:01:16 2013 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Mon Sep 30 13:01:24 2013 -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/00f6173f/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 0fd55f0..18d88a5 100644
--- a/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
+++ b/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
@@ -297,12 +297,12 @@ public class ColumnFamilyStore implements ColumnFamilyStoreMBean
             public void run()
             {
                 SpeculativeRetry retryPolicy = ColumnFamilyStore.this.metadata.getSpeculativeRetry();
+                logger.debug("retryPolicy is {}", retryPolicy.value);
                 switch (retryPolicy.type)
                 {
                     case PERCENTILE:
                         // get percentile in nanos
                         assert metric.coordinatorReadLatency.durationUnit() == TimeUnit.MICROSECONDS;
-                        logger.info("retryPolicy is {}", retryPolicy.value);
                         sampleLatencyNanos = (long) (metric.coordinatorReadLatency.getSnapshot().getValue(retryPolicy.value)
* 1000d);
                         break;
                     case CUSTOM:


Mime
View raw message