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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Diagnostics, Storage
    • Fully Compatible
    • Execution Team 2019-06-17, Execution Team 2019-07-01

      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.

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

              Created:
              Updated:
              Resolved: