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

stack commented on HBASE-16490:
-------------------------------

This got committed with a wonky commit message making it hard to find. FYI:

commit 7eaba369e745f8095204a39a037c1d96ae7deac6
Author: chenheng <[email protected]>
Date:   Sat Aug 27 10:36:21 2016 +0800

    HBASE016490 Fix race condition between SnapshotManager and SnapshotCleaner



> Fix race condition between SnapshotManager and SnapshotCleaner
> --------------------------------------------------------------
>
>                 Key: HBASE-16490
>                 URL: https://issues.apache.org/jira/browse/HBASE-16490
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Heng Chen
>            Assignee: Heng Chen
>            Priority: Major
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16490.patch, HBASE-16490.v1.patch, 
> HBASE-16490.v2.patch
>
>
> As [~mbertozzi] comments on HBASE-16464,  there maybe race condition between 
> SnapshotManager and SnapshotCleaner.  We should use one lock when create 
> snapshot,  and cleanup should acquire the lock before take action.
> One method is pass HMaster as param into Cleaner through 
> {{FileCleanerDelegate.getDeletableFiles}},  suggestions are welcomed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to