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

ProgramRegistry::waitForPid doesn't correctly handle waitforpid return values

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0
    • None
    • None
    • None
    • Linux
    • Fully Compatible
    • ALL
    • STM 2022-02-07
    • 15
    • 0

    Description

      waitforpid can return -1 if it's run against a process that's already be waited on. Fix that by not running unregisterProgram when the return value is -1.

      Attachments

        Activity

          People

            richard.samuels@mongodb.com Richard Samuels (Inactive)
            richard.samuels@mongodb.com Richard Samuels (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: