You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2021/07/21 19:15:07 UTC

[cassandra] branch cassandra-3.11 updated (8d881d9 -> 87645a9)

This is an automated email from the ASF dual-hosted git repository.

brandonwilliams pushed a change to branch cassandra-3.11
in repository https://gitbox.apache.org/repos/asf/cassandra.git.


    from 8d881d9  Merge branch 'cassandra-3.0' into cassandra-3.11
     new 426253a  Calculate time remaining correctly for all compaction types in compactionstats
     new 87645a9  Merge branch 'cassandra-3.0' into cassandra-3.11

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 CHANGES.txt                                                       | 1 +
 src/java/org/apache/cassandra/tools/nodetool/CompactionStats.java | 4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)

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


[cassandra] 01/01: Merge branch 'cassandra-3.0' into cassandra-3.11

Posted by br...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

brandonwilliams pushed a commit to branch cassandra-3.11
in repository https://gitbox.apache.org/repos/asf/cassandra.git

commit 87645a9256a96f4c528574f48ccf211c0d75272d
Merge: 8d881d9 426253a
Author: Brandon Williams <br...@apache.org>
AuthorDate: Wed Jul 21 14:07:54 2021 -0500

    Merge branch 'cassandra-3.0' into cassandra-3.11

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

diff --cc CHANGES.txt
index 89c7813,738fd3a..7f768d0
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,17 -1,5 +1,18 @@@
 -3.0.25:
 +3.11.11
 + * Make cqlsh use the same set of reserved keywords than the server uses (CASSANDRA-15663)
 + * Optimize bytes skipping when reading SSTable files (CASSANDRA-14415)
 + * Enable tombstone compactions when unchecked_tombstone_compaction is set in TWCS (CASSANDRA-14496)
 + * Read only the required SSTables for single partition queries (CASSANDRA-16737)
 + * Fix LeveledCompactionStrategy compacts last level throw an ArrayIndexOutOfBoundsException (CASSANDRA-15669)
 + * Maps $CASSANDRA_LOG_DIR to cassandra.logdir java property when executing nodetool (CASSANDRA-16199)
 + * Nodetool garbagecollect should retain SSTableLevel for LCS (CASSANDRA-16634)
 + * Ignore stale acks received in the shadow round (CASSANDRA-16588)
 + * Add autocomplete and error messages for provide_overlapping_tombstones (CASSANDRA-16350)
 + * Add StorageServiceMBean.getKeyspaceReplicationInfo(keyspaceName) (CASSANDRA-16447)
 + * Make sure sstables with moved starts are removed correctly in LeveledGenerations (CASSANDRA-16552)
 + * Upgrade jackson-databind to 2.9.10.8 (CASSANDRA-16462)
 +Merged from 3.0:
+  * Calculate time remaining correctly for all compaction types in compactionstats (CASSANDRA-14701)
   * Receipt of gossip shutdown notification updates TokenMetadata (CASSANDRA-16796)
   * Count bloom filter misses correctly (CASSANDRA-12922)
   * Reject token() in MV WHERE clause (CASSANDRA-13464)
diff --cc src/java/org/apache/cassandra/tools/nodetool/CompactionStats.java
index 32781c7,e68b534..3deea3a
--- a/src/java/org/apache/cassandra/tools/nodetool/CompactionStats.java
+++ b/src/java/org/apache/cassandra/tools/nodetool/CompactionStats.java
@@@ -94,9 -68,9 +93,8 @@@ public class CompactionStats extends No
                  String percentComplete = total == 0 ? "n/a" : new DecimalFormat("0.00").format((double) completed / total * 100) + "%";
                  String id = c.get("compactionId");
                  table.add(id, taskType, keyspace, columnFamily, completedStr, totalStr, unit, percentComplete);
-                 if (taskType.equals(OperationType.COMPACTION.toString()))
-                     remainingBytes += total - completed;
+                 remainingBytes += total - completed;
              }
 -
              table.printTo(out);
  
              String remainingTime = "n/a";

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