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

Check the electionId before updating config.shards

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Sharding
    • ALL
    • v4.4
    • Sharding 2020-04-20, Sharding 2020-05-04

      Before updating config.shards, check to make sure the electionId is not stale. It is possible that the RSM receives two responses with different views of the replica set in the "correct" order (the older reponse before newer), but that the config server receives the writes in the opposite order, thus overwriting the correct entry in config.shards.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: