[
https://issues.apache.org/jira/browse/HBASE-5487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849403#comment-13849403
]
Jonathan Hsieh commented on HBASE-5487:
---------------------------------------
The problem isn't that you would get snapshots with inconsistent schemas if the
two operations were issued concurrently. It is that open is async and outside
the table write lock which means the snapshot would fail because the region
may no have been open.
This is a particular case where we would want the open routines to act
synchronously with table alters and split daugher region opens (both open
before table lock released and snapshot can happen).
> Generic framework for Master-coordinated tasks
> ----------------------------------------------
>
> Key: HBASE-5487
> URL: https://issues.apache.org/jira/browse/HBASE-5487
> Project: HBase
> Issue Type: New Feature
> Components: master, regionserver, Zookeeper
> Affects Versions: 0.94.0
> Reporter: Mubarak Seyed
> Assignee: Sergey Shelukhin
> Priority: Critical
> Attachments: Entity management in Master - part 1.pdf, Entity
> management in Master - part 1.pdf, Is the FATE of Assignment Manager
> FATE.pdf, Region management in Master.pdf, Region management in Master5.docx,
> hbckMasterV2-long.pdf, hbckMasterV2b-long.pdf
>
>
> Need a framework to execute master-coordinated tasks in a fault-tolerant
> manner.
> Master-coordinated tasks such as online-scheme change and delete-range
> (deleting region(s) based on start/end key) can make use of this framework.
> The advantages of framework are
> 1. Eliminate repeated code in Master, ZooKeeper tracker and Region-server for
> master-coordinated tasks
> 2. Ability to abstract the common functions across Master -> ZK and RS -> ZK
> 3. Easy to plugin new master-coordinated tasks without adding code to core
> components
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)