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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-12-12

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: