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

Make shards in concurrency suite not able to reelect primary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Operating System:
      ALL
    • Linked BF Score:
      26

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-sharding Backlog - Sharding Team
              Reporter:
              misha.tyulenev Misha Tyulenev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: