Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13177EBBF for ; Mon, 18 Mar 2013 22:41:17 +0000 (UTC) Received: (qmail 70239 invoked by uid 500); 18 Mar 2013 22:41:16 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 70184 invoked by uid 500); 18 Mar 2013 22:41:16 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 70169 invoked by uid 99); 18 Mar 2013 22:41:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Mar 2013 22:41:16 +0000 Date: Mon, 18 Mar 2013 22:41:16 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7305) ZK based Read/Write locks for table operations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-7305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13605761#comment-13605761 ] Sergey Shelukhin commented on HBASE-7305: ----------------------------------------- bq. having individual region locks that require a table read lock being held I wonder if region lock approach would scale. Though vary I can accept that splits are infrequent enough to not introduce too much delay to table operations, but if every AM action blocks every table operation I think it will not scale beyond small or medium clusters. I think we should be able to use better approach... table updates on modified regions can be done after modification. > ZK based Read/Write locks for table operations > ---------------------------------------------- > > Key: HBASE-7305 > URL: https://issues.apache.org/jira/browse/HBASE-7305 > Project: HBase > Issue Type: Bug > Components: Client, master, Zookeeper > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: 0.95.0 > > Attachments: 130228-zkrwlocks.pdf, 7305-v11.txt, hbase-7305_v0.patch, hbase-7305_v10.patch, hbase-7305_v13.patch, hbase-7305_v14.patch, hbase-7305_v15.patch, hbase-7305_v1-based-on-curator.patch, hbase-7305_v2.patch, hbase-7305_v4.patch, hbase-7305_v9.patch, HBaseTableLocks.pdf > > > This has started as forward porting of HBASE-5494 and HBASE-5991 from the 89-fb branch to trunk, but diverged enough to have it's own issue. > The idea is to implement a zk based read/write lock per table. Master initiated operations should get the write lock, and region operations (region split, moving, balance?, etc) acquire a shared read lock. -- 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