You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2023/12/06 13:39:00 UTC

[jira] [Work started] (HBASE-28244) ProcedureTestingUtility.restart is broken sometimes after HBASE-28199

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

Work on HBASE-28244 started by Duo Zhang.
-----------------------------------------
> 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
>            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)