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/13 14:06:00 UTC
[jira] [Resolved] (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 ]
Duo Zhang resolved HBASE-28244.
-------------------------------
Fix Version/s: 3.0.0-beta-1
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to master and branch-3.
Thanks [~GeorryHuang] for reviewing!
> 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
> Fix For: 3.0.0-beta-1
>
>
> 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)