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

Invariant that restore() is called on the RecordCursor prior to its usage, after save() was called

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Diagnostics, Storage
    • Fully Compatible
    • Execution Team 2019-06-17, Execution Team 2019-07-01

    Description

      This would be helpful for diagnosis and to find violating cursor usages that do not call restore() after using save() prior to using the cursor again. With the work done in SERVER-40547, there have been a few cases where these violations take place and often take time to find the root cause.

      Any invariants uncovered during the work done in this ticket should also be resolved.

      Attachments

        Activity

          People

            zach.yam@mongodb.com Zach Yam (Inactive)
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: