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

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

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

                Created:
                Updated:
                Resolved: