Remove OperationTimeTrackerHolder's usage of std::shared_ptr

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Service Arch 2024-02-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: