You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/16 17:24:00 UTC

[jira] [Resolved] (HBASE-8873) minor concurrent issue about filesCompacting

     [ https://issues.apache.org/jira/browse/HBASE-8873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kyle Purtell resolved HBASE-8873.
----------------------------------------
    Resolution: Abandoned

> minor concurrent issue about filesCompacting
> --------------------------------------------
>
>                 Key: HBASE-8873
>                 URL: https://issues.apache.org/jira/browse/HBASE-8873
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Liang Xie
>            Priority: Major
>         Attachments: HBase-8873-0.94.txt
>
>
> i am reading compaction code, seems there's a minor thread-safe issue on filesCompacting in both 0.94 and trunk, we guard it with synchronized/lock, except needsCompaction() function.  and the fix should sth like this:
> synchronized (filesCompacting) {
> ...
> }



--
This message was sent by Atlassian Jira
(v8.20.7#820007)