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

Duo Zhang updated HBASE-28244:
------------------------------
    Component/s: proc-v2
                 test

> ProcedureTestingUtility.restart is broken sometimes after HBASE-28199
> ---------------------------------------------------------------------
>
>                 Key: HBASE-28244
>                 URL: https://issues.apache.org/jira/browse/HBASE-28244
>             Project: HBase
>          Issue Type: Sub-task
>          Components: proc-v2, test
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>
> In ProcedureTestingUtility.restart, we will reuse the same ProcedureExecutor, 
> so when restarting, we need to make sure that all procedures are not executed 
> and then clear the scheduler.
> But after HBASE-28199, we may add procedures back to scheduler after a 
> CompletableFuture is completed, so even if all the PEWorker are terminated we 
> could still add things to scheduler, which may break some tests.
> We need to find a way to deal with this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to