You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2021/08/12 06:16:14 UTC

[GitHub] [hbase] virajjasani commented on a change in pull request #3579: HBASE-26189 Reduce log level of CompactionProgress notice to DEBUG

virajjasani commented on a change in pull request #3579:
URL: https://github.com/apache/hbase/pull/3579#discussion_r687417816



##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionProgress.java
##########
@@ -77,8 +77,10 @@ public void complete() {
    */
   public long getTotalCompactingKVs() {
     if (totalCompactingKVs < currentCompactedKVs) {
-      LOG.warn("totalCompactingKVs={} less than currentCompactedKVs={}",
+      if (LOG.isDebugEnabled()) {

Review comment:
       isEnabled() check is redundant as we are using placeholders in log, which are going to be evaluated only if DEBUG level is enabled.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org