Ensure abortThread is joined before shardingTest is shut down in resharding_abort_command.js

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v5.0
    • Sharding 2021-05-17, Sharding 2021-05-31
    • 21
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It's possible that the abort and withResharding threads could be scheduled in such a way that the abortThread will fail out with a shutdownInProgress error if an abort is attempted after the decision has already been persisted. This is because we wait on the withResharding thread before the abort thread, which could shut down the shardingTest before the abortThread has run.

            Assignee:
            Blake Oler
            Reporter:
            Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: