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

jmckenzie pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fbd6b04  Log largest memtable on flush at info rather than debug
fbd6b04 is described below

commit fbd6b047915d9810bf5e3131ba11c9374b3834a3
Author: Josh McKenzie <jmcken...@apache.org>
AuthorDate: Tue Mar 22 12:41:58 2022 -0400

    Log largest memtable on flush at info rather than debug
    
    Patch by Josh McKenzie; reviewed by Brandon Williams for CASSANDRA-17472
---
 CHANGES.txt                                             | 1 +
 src/java/org/apache/cassandra/db/ColumnFamilyStore.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index e8bc60b..d54a5a7 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 4.1
+ * Log largest memtable flush at info instead of debug (CASSANDRA-17472)
  * Add native transport rate limiter options to example cassandra.yaml, and 
expose metric for dispatch rate (CASSANDRA-17423)
  * Add diagnostic events for guardrails (CASSANDRA-17197)
  * Increase cqlsh version (CASSANDRA-17432)
diff --git a/src/java/org/apache/cassandra/db/ColumnFamilyStore.java 
b/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
index b257790..906e109 100644
--- a/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
+++ b/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
@@ -1344,7 +1344,7 @@ public class ColumnFamilyStore implements 
ColumnFamilyStoreMBean
             float flushingOffHeap = 
Memtable.MEMORY_POOL.offHeap.reclaimingRatio();
             float thisOnHeap = 
largest.getAllocator().onHeap().ownershipRatio();
             float thisOffHeap = 
largest.getAllocator().offHeap().ownershipRatio();
-            logger.debug("Flushing largest {} to free up room. Used total: {}, 
live: {}, flushing: {}, this: {}",
+            logger.info("Flushing largest {} to free up room. Used total: {}, 
live: {}, flushing: {}, this: {}",
                          largest.cfs, ratio(usedOnHeap, usedOffHeap), 
ratio(liveOnHeap, liveOffHeap),
                          ratio(flushingOnHeap, flushingOffHeap), 
ratio(thisOnHeap, thisOffHeap));
 

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

Reply via email to