You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2019/04/15 03:11:41 UTC
[cassandra] branch cassandra-3.11 updated: fixing nodetool cfstats
printing index name twice
This is an automated email from the ASF dual-hosted git repository.
mck pushed a commit to branch cassandra-3.11
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/cassandra-3.11 by this push:
new f0aef2c fixing nodetool cfstats printing index name twice
f0aef2c is described below
commit f0aef2c54dd23a3a603664b1bc17c2e058b68031
Author: Ian Cleasby <ian.cleasby>
AuthorDate: Tue Nov 6 16:22:59 2018 +1100
fixing nodetool cfstats printing index name twice
patch by Ian Cleasby and Stefan Miklosovic ; reviewed by Mick Semb Wever for CASSANDRA-14903
---
CHANGES.txt | 1 +
.../org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGES.txt b/CHANGES.txt
index 9fecc40..62fa3c3 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
3.11.5
+ * Fixed nodetool cfstats printing index name twice (CASSANDRA-14903)
* Add flag to disable SASI indexes, and warnings on creation (CASSANDRA-14866)
Merged from 3.0:
* cassandra-stress works with frozen collections: list and set (CASSANDRA-14907)
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 9f7ecd0..e1e7b42 100644
--- a/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
+++ b/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
@@ -59,7 +59,7 @@ public class TableStatsPrinter
List<StatsTable> tables = keyspace.tables;
for (StatsTable table : tables)
{
- out.println("\t\tTable" + (table.isIndex ? " (index): " + table.name : ": ") + table.name);
+ out.println("\t\tTable" + (table.isIndex ? " (index): " : ": ") + table.name);
out.println("\t\tSSTable count: " + table.sstableCount);
if (table.isLeveledSstable)
out.println("\t\tSSTables in each level: [" + String.join(", ",
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org