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

Write kAborted to disk when shard split cannot proceed due to an invalid config

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Server Serverless 2022-07-25
    • 15

    Description

      If the replica set config is invalid (missing recipient nodes, etc) we currently set the decision promise to kAborted and immediately return without updating the state document. This means we leave the state document in its initial state. Therefore if the current primary steps down, the next primary will try to "resume" the operation using this stale state document. It also means other shard split might not be able to work as there currently is an "active" shard split.

      Attachments

        Activity

          People

            didier.nadeau@mongodb.com Didier Nadeau
            didier.nadeau@mongodb.com Didier Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: