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

shardSvrCommitReshardCollection command should fail recoverably if the node is shutting down

    • Sharding NYC
    • Fully Compatible
    • ALL
    • v7.1, v7.0, v6.0, v5.0
    • 8
    • 4

      It is possible that a resharding donor/recipient service POS executor has shutdown on a primary node but has failed to step down due to no secondaries being caught up to be elected. While the secondaries catchup, the primary which has its services shutdown can receive a retry of shardSvrCommitReshardCollection command from an in-progress resharding operation and uassert on existence of resharding state documents (donor or recipient) here. This leads to a fatal error at the coordinator causing it to crash.

            Assignee:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Reporter:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: