hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16865) Procedure v2 - Inherit lock from root proc
Date Wed, 02 Nov 2016 01:37:58 GMT

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

Matteo Bertozzi commented on HBASE-16865:

we don't have the ability to go back recursively to the root at the moment. and we only have
two use cases for now child that want to lock what the parent have and the child far down
the line that wants to lock what the root has. I don't want to make this too generic for now
and end up with strange deep procs at the moment. I prefer having people complaining about
the inability to do something and figure out if there is a better way to do it, instead of
allowing strange behaviors.

> Procedure v2 - Inherit lock from root proc
> ------------------------------------------
>                 Key: HBASE-16865
>                 URL: https://issues.apache.org/jira/browse/HBASE-16865
>             Project: HBase
>          Issue Type: Sub-task
>          Components: proc-v2
>    Affects Versions: 2.0.0
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>             Fix For: 2.0.0
>         Attachments: HBASE-16865-v0.patch
> At the moment we support inheriting locks from the parent procedure for a 2 level procedures,
but in case of reopen table regions we have a 3 level procedures (ModifyTable -> ReOpen
-> [Unassign/Assign])  and reopen does not have any locks on its own.

This message was sent by Atlassian JIRA

View raw message