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

improve const-ness of OpObserver transaction-related events for TransactionOperations parameter

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2022-12-12

      The OpObserver interfaces currently accepts a pointer to the TransactionOperations container (see preTransactionPrepare, onTransactionPrepare, and onUnpreparedTransactionCommit) but none of the existing implementations need to modify the container's contents.

      It would be clearer for the interface to accept a const ref to TransactionOperations.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: