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

Work on HBASE-30502 started by Duo Zhang.
-----------------------------------------
> ProcedureFutureUtil.suspendIfNecessary may skip wakingup a procedure if the 
> future is completed in PEWorker thread
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-30502
>                 URL: https://issues.apache.org/jira/browse/HBASE-30502
>             Project: HBase
>          Issue Type: Improvement
>          Components: proc-v2
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>
> The current implementation assumes that the future will not be completed in 
> PEWorker, so we check whether the future callback is called in the same 
> thread, if so, we think the future is completed before suspending and give up 
> waking up.
> When implementing HBASE-30402, a procedure may hold a future which is 
> completed by another procedure, in this way, the above assumption is 
> incorrent, so we need to change the logic before landing the changes in 
> HBASE-30402.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to