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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.24, 4.4.19, 5.0.15, 6.3.0-rc0, 6.0.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.2, v6.0, v5.0, v4.4, v4.2
    • Execution Team 2023-02-06

      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.

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

              Created:
              Updated:
              Resolved: