Which command adds members to the replica set from MongoDB shell?

  •  rs.add(“<hostname>”)
  •  replicaSetAdd(“<hostname>”)
  •  rs.insert(“<hostname>”)
  •  replica.add(“<hostname>”)

Leave a Reply

Your email address will not be published. Required fields are marked *