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

Remove OperationTimeTrackerHolder's usage of std::shared_ptr

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

      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:
            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: