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

Double-check record existence in validate

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2021-02-22
    • 0

      There is a bug described in SERVER-50971 where MongoDB observes a record, and in the same snapshot, reads the record again, but WiredTiger returns WT_NOTFOUND.

      Consider adding a "double-check" behavior to collection validation. This would lookup a record immediately after validating it. We may not want to enable this by default due to the amount of extra work, but we could enable this in many of our tests.

      The hope is that this extra coverage would uncover similar isolation bugs in the future.

            Assignee:
            bynn.lee@mongodb.com Bynn Lee
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: