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

ShardingTest.stop must join top-level chunk migrations

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v5.0, v4.4
    • Sprint:
      Sharding EMEA 2021-06-14
    • Linked BF Score:
      49

      Description

      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:

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: