You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "haosen chen (Jira)" <ji...@apache.org> on 2023/04/21 06:27:00 UTC

[jira] [Created] (HBASE-27807) PressureAwareCompactionThroughputController#tune log the opposite of the actual scenario

haosen chen created HBASE-27807:
-----------------------------------

             Summary: 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: 2.3.0, 1.5.0, 3.0.0-alpha-1
            Reporter: haosen chen


In [https://github.com/apache/hbase/commit/07c71d630cd293ab55ac85e9bfa06033598134c4] ,    the condition of the if statement is incorrectly modified.

 
{code:java}
if (LOG.isDebugEnabled()) {
      if (Math.abs(maxThroughputToSet - getMaxThroughput()) < .0000001) {                      LOG.debug("CompactionPressure is " + compactionPressure + ", tune throughput to "            + throughputDesc(maxThroughputToSet));
      }  {code}
 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)