HBASE-21777 Only log compaction pressure throughput when changed or traced (addendum)
Fix the findbugs warning
This commit is contained in:
parent
ba235c93a5
commit
12bf75bb2a
|
@ -100,7 +100,7 @@ public class PressureAwareCompactionThroughputController extends PressureAwareTh
|
|||
* compactionPressure;
|
||||
}
|
||||
if (LOG.isDebugEnabled()) {
|
||||
if (maxThroughputToSet != getMaxThroughput()) {
|
||||
if (Math.abs(maxThroughputToSet - getMaxThroughput()) < .0000001) {
|
||||
LOG.debug("CompactionPressure is " + compactionPressure + ", tune throughput to "
|
||||
+ throughputDesc(maxThroughputToSet));
|
||||
} else if (LOG.isTraceEnabled()) {
|
||||
|
|
Loading…
Reference in New Issue