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

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

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

      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 Kristina Chodorow (Inactive)
            Reporter:
            mpatenaude Mitch Patenaude
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: