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

Storage engine's updateRecord function should take oldRec

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.7.8
    • 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

        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: