You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2015/04/22 02:35:59 UTC
[jira] [Updated] (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 Purtell updated HBASE-8873:
----------------------------------
Assignee: (was: Liang Xie)
Affects Version/s: (was: 0.94.9)
(was: 0.95.1)
Status: Open (was: Patch Available)
Cancelling stale patch
> 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
> 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
(v6.3.4#6332)