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

Storage engine's updateRecord function should take oldRec

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Works as Designed
    • 2.7.8
    • None
    • Storage
    • None

    Description

      For storage engines that do transactional size checking, the old record is necessary to know the data size delta for the running update. Re-reading it from storage is not very cheap so the API should just include the oldRec, since it is readily available to the caller.

      Related to https://jira.mongodb.org/browse/SERVER-15701

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              john.esmet@gmail.com John Esmet
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: