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.

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.5.7
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Environment:
      mongodb-linux-x86_64-2010-07-13
      version 1.5.5-pre, git version 22653fdefeea36317cbe2557b9cb039e64512ce6

      > 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

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

              Created:
              Updated:
              Resolved: