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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1
    • Component/s: Diagnostics, Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: