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)