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

Messages confusing in replSetInitiate without replication enabled

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.0
    • Affects Version/s: None
    • Component/s: Replication
    • Fully Compatible
    • ALL

      This is when the node is not started with "--replSet".

      > rs.initiate()
      {
      	"info2" : "no configuration specified. Using a default configuration for the set",
      	"errmsg" : "exception: bad --replSet config string format is: <setname>[/<seedhost1>,<seedhost2>,...]",
      	"code" : 13093,
      	"ok" : 0
      }
      

      We should probably remove the info2 message and cleanup the errmsg to indicate that the node was not started with "replSet" instead of a bad format...

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: