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

Can not Select Primary when chaining allowed option disabled.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 6.0.4
    • None
    • None
    • Server Triage
    • ALL

    Description

      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

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: