Optimize CurOpStack construction and destruction

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: