Router's retry of successful DDL must not spawn a new coordinator

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Sharding EMEA
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, it is possible to end up in the following scenario:

      • Client issues a DDL operation
      • Mongos forwards the DDL operation to the primary shard
      • The primary shard gets killed right after the DDL suceeds (the coordinator document has been removed) BUT before replying to the mongos
      • The mongos retry targets the new primary: a new coordinator is instantiated and the DDL re-executed

      Objective of this ticket is to ensure that the retry arriving to the new primary results in a noop with the router receiving a proper successful response.

              Assignee:
              [DO NOT USE] Backlog - Sharding EMEA
              Reporter:
              Pierlauro Sciarelli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: