Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-56008

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

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

      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@mongodb.com Blake Oler
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: