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

terry zhang commented on HBASE-7735:
------------------------------------

hi Jonathan, I wonder now how we can make sure all regionserver snapshot 
manager can get the correct number of region when doing snapshot. Cause if some 
of the region is moving or spliting , getOnlineRegions will miss these region 
and snapshot will loss data and there will be hole in meta after we restore 
snapshot.
                
> Prevent regions from moving during online snapshot.
> ---------------------------------------------------
>
>                 Key: HBASE-7735
>                 URL: https://issues.apache.org/jira/browse/HBASE-7735
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Jonathan Hsieh
>
> To increase the probability of snapshots succeeding, we should attempt to 
> prevent splits and region moves from happening.  Currently we take region 
> locks but this could be "too late" and results in an aborted snapshot.  
> We should probably take the table lock (0.96) when starting a snapshot and 
> for  a 0.94 backport we should probably disable the balancer.
> This will probably not be tackled until after trunk merge.

--
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

Reply via email to