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

rs.add could detect _id

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.3
    • Component/s: Shell
    • Labels:
      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

          Issue Links

            Activity

              People

              Assignee:
              benety.goh Benety Goh
              Reporter:
              dmurphy David Murphy
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: