Description
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.
To reproduce
Trigger compaction and clear the compaction queue while the compaction is in progress.
Cause
The counters of HRegion are not updated accordingly when the queue is cleared.
- compactionsQueued
- majorInProgress
- minorInProgress