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

Remove OperationTimeTrackerHolder's usage of std::shared_ptr

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch
    • Service Arch 2024-02-19

    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.

      Attachments

        Activity

          People

            erin.mcnulty@mongodb.com Erin McNulty
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: