[
https://issues.apache.org/jira/browse/HBASE-21480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16687614#comment-16687614
]
Duo Zhang commented on HBASE-21480:
-----------------------------------
OK, it will be a big project to rewrite the snapshot related code, as it is
based on proc v1. I think we can open an umbrella issue to deal with it.
Here, I plan to let the snapshot handler to acquire lock procedure first, and
then disable merge/split, and then release the lock procedure soon. And when it
is done, reset the flag.
> 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)