-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
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.
- related to
-
SERVER-81848 Make decoration construction eager again
- Closed
-
SERVER-85325 Classify `OpCtx` decorations based on their performance cost
- Closed
-
SERVER-86835 Optimize OpDebug in CurOp to remove any unneeded metrics in reporting
- Needs Scheduling