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

Liang Xie updated HBASE-8873:
-----------------------------

    Description: 
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) {
...
}
    
> 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
>            Assignee: Liang Xie
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to