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

initAndListen crashes when run concurrently with shutdown

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • ALL
    • v8.1
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Shutdown can happen concurrently with initAndListen, for example if a SIGTERM signal is received while startup is still occurring. Our initialization logic in general does not handle this case, and we see crashes every now and then as a result. BF-35824 is one such example, and as part of fixing it, I tried to add a test and discovered a similar issue with OCSPManager. Rather than fixing this one by one, it may make more sense to holistically ensure that initialization is shutdown-aware.

            Assignee:
            Unassigned Unassigned
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: