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

Can not Select Primary when chaining allowed option disabled.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 6.0.4
    • Component/s: None
    • Labels:
      None
    • Server Triage
    • ALL

      Problem Statement/Rationale{}

      When I use the mongodb r6.0.4 to create a replica set cluster with three nodes which include a primary node, secondary node, and a hidden node, i found that if the primary node down and with disabled chaining allowed option situation, then the  secondary node can not elect to a primary node.{}

      Steps to Reproduce

      1. Create a replica set of three nodes containing a primary node, hidden node and  a secondary node.
      2. Disable chaining allowed option.
      3. Let secondary node down(Simulate the situation where the secondary node fails to synchronize data when under heavy load),and write some data on the primary node.
      4. Let primary node down.
      5. Restart secondary node.

      Expected Results

      The secondary node can not find a sync to synchronize backward data,and can not able to select to primary node.

      Actual Results

       

            Assignee:
            yuan.fang@mongodb.com Yuan Fang
            Reporter:
            zhangruian1997@gmail.com 瑞安 张
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: