You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Liyin Tang (JIRA)" <ji...@apache.org> on 2012/05/03 20:32:49 UTC

[jira] [Commented] (HBASE-5373) Table level lock to prevent the race of multiple table level operation

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

Liyin Tang commented on HBASE-5373:
-----------------------------------

Sure. I am glad that Alex is working this jira right now and I will help on the code-review.
                
> Table level lock to prevent the race of multiple table level operation
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5373
>                 URL: https://issues.apache.org/jira/browse/HBASE-5373
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>
> A table level lock can guarantee that only one table operation would happen at one time for each table. The master should require and release these table locks correctly during the failover time. One proposal is to keep track of the lock and its corresponding operation in the zookeeper. If there is a master failover, the secondary should have a way to check whether these operations are succeeded nor not before releasing the lock.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira