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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-07-25
    • 15
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Didier Nadeau
            Reporter:
            Didier Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: