[
https://issues.apache.org/jira/browse/HBASE-19264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16254351#comment-16254351
]
Duo Zhang commented on HBASE-19264:
-----------------------------------
We do not care the return value of this method, instead, we finish the
AssignProcedure/UnssignProcedure when RS calls reportRegionTransitionState.
So I think the execProcedure can be executed asynchronously. We do not need to
wait all the open/close operations finish in the method, just start a task for
each operation and then return.
Thanks.
> Use a thread pool to execute the open/close region operation in execProcedures
> ------------------------------------------------------------------------------
>
> Key: HBASE-19264
> URL: https://issues.apache.org/jira/browse/HBASE-19264
> Project: HBase
> Issue Type: Improvement
> Components: proc-v2
> Reporter: Duo Zhang
>
> The return value of execProcedure is just ignored at master side, and we will
> rely on the reportRegionTransitionState to determine whether the open/close
> is succeeded, so it is not necessary to open/close region synchronously in
> the execProcedure method, we can use a thread pool to execute the actual
> operations.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)