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

Segfaults can occur when attaching to a mongod process going down

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.9.0
    • None
    • None
    • None
    • Ubuntu 2.6.35-25-generic
    • Linux

    Description

      If connecting to a mongod process going down, it appears that a segfault can occur if the process goes down while negotiating a connection. Steps to reproduce are basically:

      Start up a mongod instances of shutting down

      Connect to the instance (may not be necessary)
      Send a term signal to the instance
      Try to reconnect to the instance while in the process of shutting down

      Attachment only runs on linux.

      Not really a big issue for the shell, though somewhat annoying, but in general may affect stability of replica failover and sharding.

      Attachments

        Activity

          People

            greg_10gen Greg Studer
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: