Junegunn Choi created HBASE-28831:
-------------------------------------

             Summary: compactionsQueuedCount metric is not cleared on 
'clear_compaction_queues'
                 Key: HBASE-28831
                 URL: https://issues.apache.org/jira/browse/HBASE-28831
             Project: HBase
          Issue Type: Bug
          Components: metrics, shell
            Reporter: Junegunn Choi


h2. Problem Description

Region-level {{compactionsQueuedCount}} metric is not reset when the compaction 
queue is cleared by {{clear_compaction_queues}} command on HBase shell.

Also, the compaction state of the regions are not reset, and table.jsp page 
reports incorrect compaction state.

h2. To reproduce

Trigger compaction and clear the compaction queue while the compaction is in 
progress.

h2. Cause

The counters of HRegion are not updated accordingly when the queue is cleared.

 * {{compactionsQueued}}
 * {{majorInProgress}}
 * {{minorInProgress}}



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

Reply via email to