Tighten ShardingTestFixtureCommon::shutdownExecutorPool to ensure that join will not hang

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There is a test only race during test teardown where task gets queued to the executor right before it gets shutdown and before it gets queued to the mock network. This means that this logic will completely miss the task and causing the join to wait forever (since it waits for pending task to become empty).

            Assignee:
            Randolph Tan
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: