hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liang Xie (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-8873) minor concurrent issue about filesCompacting
Date Fri, 05 Jul 2013 10:31:49 GMT

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

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

    Affects Version/s: 0.95.1
                       0.94.9
               Status: Patch Available  (was: Open)
    
> minor concurrent issue about filesCompacting
> --------------------------------------------
>
>                 Key: HBASE-8873
>                 URL: https://issues.apache.org/jira/browse/HBASE-8873
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.9, 0.95.1
>            Reporter: Liang Xie
>            Assignee: 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 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

Mime
View raw message