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

Avoid linking //src/mongo/db:throw_hook_impl in mongo shell

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • SP Prioritized List
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-100559, we noticed that the changes in SERVER-98918 (overwriting of __cxa_throw to print a stack trace) caused a large slowdown in the shutdown of the mongo shell, which happened to throw many boost exceptions on shutdown.

      Because //src/mongo/platform:throw_hook is linked into //src/mongo:base, this behavior is present in both the server and the shell. This ticket is a request to only link this library in the server where it is needed.

            Assignee:
            ronald.steinke@mongodb.com Ronald Steinke
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None