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

Server status does full copy of all drop-pending idents under mutex

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 6.0.21
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2023-04-03
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When we report the number of drop-pending idents in storageEngine serverStatus section, we build a set of every ident name, only to count the result. We also do this while blocking any idents from being dropped.

      I've seen customers with drop-pending idents in the hundreds of thousands, and this would probably explain poor performance that they saw. As the number of idents grows, the longer we hold that mutex, which further delays ident drops...

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None