You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2022/04/17 15:01:00 UTC

[jira] [Commented] (HBASE-26958) Improve the comments and test coverage for compaction progress implementation

    [ https://issues.apache.org/jira/browse/HBASE-26958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17523372#comment-17523372 ] 

Duo Zhang commented on HBASE-26958:
-----------------------------------

[~apurtell] [~elserj] FYI.

> 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
>            Priority: Major
>
> 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)