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

Reduce usage of expensive function TransactionParticipant::checkStatementExecuted

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability

      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:
            Unassigned Unassigned
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: