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

Validate does not detect out-of-order keys with {full: false}

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.2.24, 4.4.19, 5.0.15, 6.3.0-rc0, 6.0.5
    • None
    • None
    • Fully Compatible
    • v6.2, v6.0, v5.0, v4.4, v4.2
    • Execution Team 2023-02-06

    Description

      When running validate with {full: true}, we call WT_SESSION::verify() on all tables belonging to the collection. This will report if any keys are out-of-order. However, we have no checks to detect out-of-order keys when running {full: false}. In fact we invariant that RecordIds are returned in order, which can lead to a crash.

      Attachments

        Issue Links

          Activity

            People

              gregory.wlodarek@mongodb.com Gregory Wlodarek
              gregory.wlodarek@mongodb.com Gregory Wlodarek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: