Messages confusing in replSetInitiate without replication enabled

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: