Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28196 Yield SCP and TRSP when they are blocked
  3. HBASE-28244

ProcedureTestingUtility.restart is broken sometimes after HBASE-28199

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-beta-1
    • proc-v2, test
    • None
    • Reviewed

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: