move retryable findAndModify image logic out of OpObserverImpl

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution NAMR Team 2023-07-24, Execution NAMR Team 2023-08-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the logic for writing retryable findAndModify images to config.image_collection is embedded in the OpObserverImpl methods for writing the oplog entries (See update example). To support future work in streamlining the OpObserverImpl oplog generation logic (see SERVER-74100 and SERVER-74121), it would help to extract the findAndModify logic into a separate OpObserver implementation. We had recently completed a similar exercise for change streams pre-images in SERVER-78310.

              Assignee:
              Benety Goh
              Reporter:
              Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: