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

Make shards in concurrency suite not able to reelect primary

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Sharding
    • ALL
    • 26

      BF-7458 manifests as a spontaneous reelection of primary during a database operation between tests such as checkUUIDsConsistentAcrossCluster (which cache primary host name).
      This reelection is not expected by the tests and hence causes them to fail.
      There are 2 possible solutions assuming that reelections are normal and can happen due to heartbeat delay.
      1. look into all failing cases and use the current primary when making requests.
      2. configure the sharded cluster in a way that reelection will choose the same primary.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: