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

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

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

      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:
            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: