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

Add ability for mongo daemons to wait for debugger on startup

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Security 2023-06-26

    Description

      Attaching a debugger to a process takes several seconds. This is longer then the time it takes to run some tests.

      To add the ability to debug resmoke tests, it is helpful for mongo daemons to wait for the debugger to attach before continuing. For most tests, when they wait is opted into, the extra startup delay should impose no issues because resmoke.py/servers.js already wait for process startup today.

      In the first version, this check can be done with an environment variable when a flag is specified to SConstruct. An environment variable has a benefit in that it can be checked before global initializers are called.

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: