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

avoid writing unneeded fields to no-op oplog entry to findAndModify with retryable writes

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • None
    • None
    • Query 2020-09-21, Query 2020-10-05, Query 2020-10-19, Query 2020-11-02, Query 2020-12-14, Query 2020-12-28, Query 2021-01-11, Query 2021-01-25, Query Execution 2021-04-05, Query Execution 2021-04-19

    Description

      SERVER-31242 describes how we should apply the original projection to findAndModify when retrying the operation as part of retryable writes project. However, avoiding writing the full document into the no-op oplog entry rather than just the necessary fields would keep size of the oplog small, and may make it unnecessary to do the work described in SERVER-31242.

      Attachments

        Issue Links

          Activity

            People

              bernard.gorman@mongodb.com Bernard Gorman
              asya.kamsky@mongodb.com Asya Kamsky
              Votes:
              15 Vote for this issue
              Watchers:
              46 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: