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:35:00 UTC

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

Duo Zhang created HBASE-28244:
---------------------------------

             Summary: 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


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)