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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Bernard Gorman
              Reporter:
              Asya Kamsky
              Votes:
              15 Vote for this issue
              Watchers:
              46 Start watching this issue

                Created:
                Updated:
                Resolved: