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

rs.add could detect _id

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.7.3
    • None
    • Shell
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: