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

add ReplOperation method for exporting pre/post image information for writing to the image collection

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-11-14

    Description

      When formatting applyOps oplog entries for a multi-document transaction, the OpObserver implementation has to take into account how to update the config.images collection with pre/post images related to findAndModify operattions. In the packTransactionStatementsForApplyOps() function, we have a local function setImageToWrite that could be extracted into a method of the ReplOperation class.

      Another improvement we could make is to promote the internal struct ImageBundle to a member struct of ReplOperation.

      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: