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

Shutdown and Join BalancerStatsRegistry ThreadPool on shutdown

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.0, v7.3, v7.0, v6.0
    • CAR Team 2024-05-13, CAR Team 2024-06-24
    • 200

      Objects allocated and owned by by the thread-pool threads, especially those owned via thread_locals, result in leak-reports by LSAN when these threads are still running when the leak detector runs at shutdown. Similarly to SERVER-67732, we should shutdown and join this thread pool to avoid the leak detector reporting memory allocated from those threads as leaks.

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: