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

Race between resharding coordinator and state transition guard [resharding_coordinator_service_test]

    • Fully Compatible
    • ALL
    • Hide

      Add a sleep of 5 seconds here.

      Show
      Add a sleep of 5 seconds here .
    • Sharding 2022-10-17
    • 45
    • 2

      In MultipleReshardingOperationsFail unit test, the ReshardingCoordinator is being initialized before the PauseBeforeStateTransitioned guard is defined in runReshardingToCompletion(). It is possible for the coordinator to transition to "preparingToDonate" before the guard that will wait for “preparing-to-donate” state in the future is notified. This causes the guard to wait indefinitely and timeout. 

            Assignee:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Reporter:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: