You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2018/11/15 04:42:00 UTC

[jira] [Commented] (HBASE-21480) Reimplement the snapshot related operations for hbase 2.x

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

Duo Zhang commented on HBASE-21480:
-----------------------------------

The basic idea is to only acquire exclusive lock for each step, and release it after every step, i.e, set hold lock to false. And for merge/split, I think we can add a flag in assignment manager or some other places, and when the snapshot procedure is executed, we turn on this flag to disable merge/split, and turn it off after we finish the snapshot procedure.

> Reimplement the snapshot related operations for hbase 2.x
> ---------------------------------------------------------
>
>                 Key: HBASE-21480
>                 URL: https://issues.apache.org/jira/browse/HBASE-21480
>             Project: HBase
>          Issue Type: Improvement
>          Components: snapshots
>            Reporter: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0
>
>
> The current implementation is not good enough. It will take the exclusive lock all the time which could hurt the availability, as we need to hold the shared lock when assigning regions.



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