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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]