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

Messages confusing in replSetInitiate without replication enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: Replication
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: