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

Double-check record existence in validate

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2021-02-22
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: