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

ShardingTest.stop must join top-level chunk migrations

    • Fully Compatible
    • v5.0, v4.4
    • Sharding EMEA 2021-06-14
    • 49

      The SharingTest stop method is calling the check orphans hook without previously ensuring that top chunk migrations triggered by the chunk splitter have finished.

      As a result, the following race condition can happen when the balancer is active:

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: