[SERVER-73481] Validate does not detect out-of-order keys with {full: false} Created: 31/Jan/23 Updated: 29/Oct/23 Resolved: 03/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.24, 4.4.19, 5.0.15, 6.3.0-rc0, 6.0.5 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Gregory Wlodarek | Assignee: | Gregory Wlodarek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Backport Requested: |
v6.2, v6.0, v5.0, v4.4, v4.2
|
||||||||||||||||
| Sprint: | Execution Team 2023-02-06 | ||||||||||||||||
| Participants: | |||||||||||||||||
| 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. |
| Comments |
| Comment by Githook User [ 11/Feb/23 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: (cherry picked from commit 288fee69456c966751a49870eefead1b7fa6ae76) |
| Comment by Githook User [ 10/Feb/23 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: (cherry picked from commit 288fee69456c966751a49870eefead1b7fa6ae76) |
| Comment by Githook User [ 10/Feb/23 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: (cherry picked from commit 288fee69456c966751a49870eefead1b7fa6ae76) |
| Comment by Githook User [ 10/Feb/23 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: (cherry picked from commit 288fee69456c966751a49870eefead1b7fa6ae76) |
| Comment by Githook User [ 03/Feb/23 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: Branch: master |