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

why elect lower priority node master?

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • ALL

    Description

      mongod:3.2.12

      os:centos 6.4

      A and B node are in the same room,C node in other room ,A.priority=10,B.priority=5,C.priority=1,on the primary node A:cfg=rs.conf();cfg.members[B.node.id]=priority=15;rs.reconfig(cfg);

      A node and B node log:VoteRequester: Got no vote from xx.xx.xx.xx:yyyy because: candidate's data is staler than mine, resp

      but node is primary 

      node A and node B continue to try in Starting an election for a priority takeover,but failed to be primary 

      Q1: why the higher priority node A or node B not elected for master?

      Attachments

        Activity

          People

            nick.brewer Nick Brewer
            wendywong wendywong
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: