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

Optimize CurOpStack construction and destruction

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch
    • Fully Compatible
    • Service Arch 2024-02-19, Service Arch 2024-03-04

      CurOpStack is by far the most expensive decoration on OperationContext, both in construction time and destruction time. We should investigate any possible way to optimize construction and destruction of CurOp and CurOpStack, as this would provide a performance benefit for all operations.

      For details, see SERVER-81848 and the comments on SERVER-85325.

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

              Created:
              Updated:
              Resolved: