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] [Commented] (HBASE-8873) minor concurrent issue about filesCompacting
Date Tue, 23 Jul 2013 03:12:49 GMT

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

Liang Xie commented on HBASE-8873:
----------------------------------

I was reading based on 0.94.3 modified, so i didn't realize the new stuff about exploringCompactionSelection
or compaction plicies.
                
> 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.95.1, 0.94.9
>            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