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

addArb adding full member if incorrect input supplied

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.1.0
    • Affects Version/s: 2.4.9
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • RPL 0 3/13/15

      Small niggle:

      running
      rs.addArb(

      {"_id":9,"host":"myhost:27017"}

      )

      from mongo shell adds myhost as a full member of replicaSet.
      whereas

      rs.addArb("host":"myhost:27017")
      works as intended

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            johng John Greenall
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: