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

Disallow 0-vote arbiters

    • Minor Change
    • ALL

      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 Matt Dannenberg
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: