Malformed argument to rs.add(..) causes primary to throw Uncaught exception, exit

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.1.0
    • Affects Version/s: 1.8.3
    • Component/s: Replication
    • Environment:
      Dell R710, CentOS 5.4
    • Linux
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I had a thinko and when trying to add a non-voting RS member, used the form
      rs.add("host:port, votes: 0")

      Here's an excerpt from the logs:

      Fri Sep 9 13:04:43 [conn25285] Uncaught exception, terminating
      Fri Sep 9 13:04:43 dbexit:
      Fri Sep 9 13:04:43 [conn25285] shutdown: going to close listening sockets...
      Fri Sep 9 13:04:43 [conn25285] closing listening socket: 5
      Fri Sep 9 13:04:43 [conn25285] closing listening socket: 6
      Fri Sep 9 13:04:43 [conn25285] closing listening socket: 7
      Fri Sep 9 13:04:43 [conn25285] closing listening socket: 8
      Fri Sep 9 13:04:43 [conn25285] removing socket file: /tmp/mongodb-27017.sock
      Fri Sep 9 13:04:43 [conn25270] got request after shutdown()
      Fri Sep 9 13:04:43 [conn25161] got request after shutdown()

            Assignee:
            Kristina Chodorow (Inactive)
            Reporter:
            Mitch Patenaude
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: