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

Duo Zhang resolved HBASE-30502.
-------------------------------
    Fix Version/s: 4.0.0-alpha-1
                   3.1.0
                   3.0.1
     Hadoop Flags: Reviewed
       Resolution: Fixed

Pushed to branch-3+.

Thanks [~liuxiaocs] for reviewing!

> 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
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-1, 3.1.0, 3.0.1
>
>
> 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