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

Resharding recipient should fulfill completionPromise with retryable status on mandatory cleanup

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In resharding recipient's mandatory clean up, we create a special "statusForPromise" when the stepdownToken is cancelled to make sure that the coordinator receives a retryable error. However, this promise is not being used when fulfilling the _completionPromise here

      Fulfill the completionPromise with statusForPromise during cleanup.

            Assignee:
            kruti.shah@mongodb.com Kruti Shah
            Reporter:
            kruti.shah@mongodb.com Kruti Shah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None