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

Giving incorrect parameter syntax to --replSet shows error in log but continues to run. Maybe it should abort like it does if the parameter is missing all together. Also, when parameter is missing, it would be nice to show expected syntax.

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.5.7
    • None
    • Replication
    • None
    • mongodb-linux-x86_64-2010-07-13
      version 1.5.5-pre, git version 22653fdefeea36317cbe2557b9cb039e64512ce6

    Description

      > bin/mongod --replSet yo

      log:
      [initandlisten] Tue Jul 13 18:47:45 waiting for connections on port 27017
      [startReplSets] Tue Jul 13 18:47:45 replSet caught exception in startReplSets thread: bad --replSet config string format is: <setname>/<seedhost1>,<seedhost2>[,...]
      [websvr] Tue Jul 13 18:47:45 web admin interface listening on port 28017

      Attachments

        Activity

          People

            tonyh Tony Hannan
            tonyh Tony Hannan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: