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

Reduce usage of expensive function TransactionParticipant::checkStatementExecuted

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • Fully Compatible
    • Cluster Scalability 2024-08-19, Cluster Scalability 2024-09-02

      SERVER-91668 contains a description of why TransactionParticipant::checkStatementExecuted is expensive.

      In all existing usages of the function where we want to know if a specific statment has been executed but we don't need to retrieve the oplog entry associated to the statement we can replace the function with the more performant TransactionParticipant::checkStatementExecutedNoOplogEntryFetch.

      Currently, I see 3 candidates for this improvement:

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: