ReshardingCoordinatorService doesn't fulfill promises on executor shutdown

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc2, 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v6.2
    • 135
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In BF-26723, it was found that the ReshardingCoordinatorService relies on the executor to emplace promises after running _isReshardingOpRedundant(). If the executor is shut down as part of stepDown(), the `onCompletion` in chain is not run that causes unfulfilled promises resulting in invariant failure when the old primary instances are destroyed. One fix is to run the cleanup on a different executor.

              Assignee:
              Abdul Qadeer
              Reporter:
              Abdul Qadeer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: