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

rs.add could detect _id

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.7.3
    • Affects Version/s: None
    • Component/s: Shell
    • None

      When you are using

      rs.add({host:"XXXX:YYYY",priority:0,hidden:true})
      

      you must also provide the _id:X however the helper can find the _id based on the previous ones.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            david.b.murphy.tx@gmail.com David Murphy
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: