Remove trailing period from latency reports at keyspace level

patch by Samuel Roberts; reviewed by Chris Lohfink for CASSANDRA-14233


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

Branch: refs/heads/trunk
Commit: d10e6ac606c6b484c75bb850de7a754b75ad5eca
Parents: 30c35dd
Author: Samuel Roberts <sprobert...@outlook.com>
Authored: Wed Feb 14 07:44:50 2018 +0100
Committer: Jason Brown <jasedbr...@gmail.com>
Committed: Wed Feb 14 04:59:45 2018 -0800

----------------------------------------------------------------------
 CHANGES.txt                                                      | 1 +
 .../apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d10e6ac6/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index ba72406..31cee26 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 3.11.2
+ * Remove trailing period from latency reports at keyspace level 
(CASSANDRA-14233)
  * Backport CASSANDRA-13080: Use new token allocation for non bootstrap case 
as well (CASSANDRA-14212)
  * Remove dependencies on JVM internal classes from JMXServerUtils 
(CASSANDRA-14173) 
  * Add DEFAULT, UNSET, MBEAN and MBEANS to `ReservedKeywords` (CASSANDRA-14205)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/d10e6ac6/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
----------------------------------------------------------------------
diff --git 
a/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java 
b/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
index 7c76e44..9f7ecd0 100644
--- a/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
+++ b/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
@@ -50,9 +50,9 @@ public class TableStatsPrinter
                 // print each keyspace's information
                 out.println("Keyspace : " + keyspace.name);
                 out.println("\tRead Count: " + keyspace.readCount);
-                out.println("\tRead Latency: " + keyspace.readLatency() + " 
ms.");
+                out.println("\tRead Latency: " + keyspace.readLatency() + " 
ms");
                 out.println("\tWrite Count: " + keyspace.writeCount);
-                out.println("\tWrite Latency: " + keyspace.writeLatency() + " 
ms.");
+                out.println("\tWrite Latency: " + keyspace.writeLatency() + " 
ms");
                 out.println("\tPending Flushes: " + keyspace.pendingFlushes);
 
                 // print each table's information


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to