hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-6522) Expose locks and leases to Coprocessors
Date Wed, 08 Aug 2012 01:11:10 GMT

     [ https://issues.apache.org/jira/browse/HBASE-6522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Lars Hofhansl updated HBASE-6522:

    Attachment: 6522-v2.txt

V2 also fixes up the mock implementations of RSServices and add some simple test code
(which just makes sure that getLeases() and getLock(...) is accessible and can be called from
a RegionObserver implementation).
> Expose locks and leases to Coprocessors
> ---------------------------------------
>                 Key: HBASE-6522
>                 URL: https://issues.apache.org/jira/browse/HBASE-6522
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>         Attachments: 6522-v2.txt, 6522.txt
> Currently it is not possible for CP to implement any of checkAndMutate type operations,
because coprocessor have no way create a lock, because getLock is private HRegion (interestingly
ReleaseLock is public).
> In addition it would nice if Coprocessor could hook into the RegionServers' Lease management.
> Here I propose two trivial changes:
> # Make HRegion.getLock public
> # Add {code}Leases getLeases(){code} to RegionServerServices (and hence to HRegionServer)

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


View raw message