[SERVER-85829] Remove OperationTimeTrackerHolder's usage of std::shared_ptr Created: 27/Jan/24  Updated: 05/Feb/24

Status: In Code Review
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Patrick Freed Assignee: Erin McNulty
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-85325 Classify `OpCtx` decorations based on... Closed
Assigned Teams:
Service Arch
Sprint: Service Arch 2024-02-19
Participants:

 Description   

OperationTimeTrackerHolder is a decoration on OperationContext which contains a single shared_ptr to an opTime. We should investigate whether this shared_ptr is necessary and remove it if not, since the atomic increment/decrement and alloc/dealloc have a non-zero performance cost.

See SERVER-85325 for details.


Generated at Thu Feb 08 06:58:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.