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

Messages confusing in replSetInitiate without replication enabled

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.1.0
    • Replication
    • Fully Compatible
    • ALL

    Description

      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...

      Attachments

        Issue Links

          Activity

            People

              matt.dannenberg Matt Dannenberg
              scotthernandez Scott Hernandez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: