Disallow 0-vote arbiters

XMLWordPrintableJSON

    • Minor Change
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I was able to reconfigure giving arbiter node "votes:0" which was accepted. This seems very wrong and we should reject that as invalid combination of options.

      [conn1] command admin.$cmd command: replSetReconfig { replSetReconfig: 
           { _id: "asyaRS", 
             version: 64512.0, 
             members: [ 
                 { _id: 0.0, host: "localhost:27017", priority: 2.0 }, 
                 { _id: 1.0, host: "localhost:29017", votes: 0.0, priority: 0.0, hidden: true }, 
                 { _id: 2.0, host: "localhost:33333", votes: 0.0, priority: 0.0, arbiterOnly: true } 
              ] 
             } } keyUpdates:0 numYields:0 locks(micros) W:1447 w:263 reslen:37 6ms
      

              Assignee:
              Matt Dannenberg (Inactive)
              Reporter:
              Asya Kamsky
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: