Duo Zhang created HBASE-26958:
---------------------------------
Summary: Improve the comments and test coverage for compaction
progress implementation
Key: HBASE-26958
URL: https://issues.apache.org/jira/browse/HBASE-26958
Project: HBase
Issue Type: Improvement
Components: Compaction
Reporter: Duo Zhang
When fixing HBASE-26938, we also found the root cause that why sometimes we
will get broken compaction progress value, i.e, a negative or more than 100%,
it is because multiple compaction can happen at the same time but only use one
compaction prorgress, which is not thread safe to track them all.
We have fixed this problem in HBASE-26938, but it is suggested to improve the
test coverage of this ares so we will not make a mistake in the future again.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)