cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dik...@apache.org
Subject cassandra git commit: Fix typo in TokenAllocation logging
Date Wed, 05 Apr 2017 19:03:05 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 305de286b -> 4d15f2d06


Fix typo in TokenAllocation logging


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

Branch: refs/heads/trunk
Commit: 4d15f2d065649c62b55625f739f61eadb0fac174
Parents: 305de28
Author: Dikang Gu <dikang85@gmail.com>
Authored: Wed Apr 5 12:01:23 2017 -0700
Committer: Dikang Gu <dikang85@gmail.com>
Committed: Wed Apr 5 12:01:23 2017 -0700

----------------------------------------------------------------------
 .../org/apache/cassandra/dht/tokenallocator/TokenAllocation.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/4d15f2d0/src/java/org/apache/cassandra/dht/tokenallocator/TokenAllocation.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/dht/tokenallocator/TokenAllocation.java b/src/java/org/apache/cassandra/dht/tokenallocator/TokenAllocation.java
index 1d06b11..7c9d22c 100644
--- a/src/java/org/apache/cassandra/dht/tokenallocator/TokenAllocation.java
+++ b/src/java/org/apache/cassandra/dht/tokenallocator/TokenAllocation.java
@@ -62,8 +62,8 @@ public class TokenAllocation
             SummaryStatistics os = replicatedOwnershipStats(tokenMetadataCopy, rs, endpoint);
             tokenMetadataCopy.updateNormalTokens(tokens, endpoint);
             SummaryStatistics ns = replicatedOwnershipStats(tokenMetadataCopy, rs, endpoint);
-            logger.warn("Replicated node load in datacentre before allocation {}", statToString(os));
-            logger.warn("Replicated node load in datacentre after allocation {}", statToString(ns));
+            logger.warn("Replicated node load in datacenter before allocation {}", statToString(os));
+            logger.warn("Replicated node load in datacenter after allocation {}", statToString(ns));
 
             // TODO: Is it worth doing the replicated ownership calculation always to be
able to raise this alarm?
             if (ns.getStandardDeviation() > os.getStandardDeviation())


Mime
View raw message