[ https://issues.apache.org/jira/browse/HBASE-27807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
haosen chen updated HBASE-27807: -------------------------------- Description: In [https://github.com/apache/hbase/commit/07c71d630cd293ab55ac85e9bfa06033598134c4] , the condition of the if statement is incorrectly modified. !image-2023-04-21-14-28-19-766.png! was: In [https://github.com/apache/hbase/commit/07c71d630cd293ab55ac85e9bfa06033598134c4] , the condition of the if statement is incorrectly modified. {code:java} if (maxThroughputToSet != getMaxThroughput()) { if (Math.abs(maxThroughputToSet - getMaxThroughput()) < .0000001) { LOG.debug("CompactionPressure is " + compactionPressure + ", tune throughput to " + throughputDesc(maxThroughputToSet)); } else if (LOG.isTraceEnabled()) {{code} > PressureAwareCompactionThroughputController#tune log the opposite of the > actual scenario > ---------------------------------------------------------------------------------------- > > Key: HBASE-27807 > URL: https://issues.apache.org/jira/browse/HBASE-27807 > Project: HBase > Issue Type: Bug > Components: Compaction > Affects Versions: 3.0.0-alpha-1, 1.5.0, 2.3.0 > Reporter: haosen chen > Priority: Trivial > Attachments: image-2023-04-21-14-28-19-766.png > > > In > [https://github.com/apache/hbase/commit/07c71d630cd293ab55ac85e9bfa06033598134c4] > , the condition of the if statement is incorrectly modified. > !image-2023-04-21-14-28-19-766.png! > -- This message was sent by Atlassian Jira (v8.20.10#820010)