-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
Minor Change
-
ALL
-
v7.2, v7.0
-
Execution Team 2023-11-27, Execution Team 2023-12-11
-
135
When validating a collection with the {{
{background: true}}} option, we read the collection and index keys at a timestamp established here in the validation code. Even though the index spec is consistent with the keys at the time the cursor is established, it is possible for the index definition to change (e.g. non-unique to unique) before we start to inspect the index keys.
This inconsistent view of the index catalog and index keys may lead to validation failures that are not reflective of a real issue in the collection.
- causes
-
PYTHON-4087 [Build Failure] test_validate_collection_background
- Closed
- fixes
-
SERVER-69422 Remove checks on out-of-sync in-memory index states for background validation
- Closed
- is depended on by
-
SERVER-83593 Add timestamp support to validate_tests.cpp
- Closed
- is related to
-
PYTHON-4072 Flaky test: test.test_database.TestDatabase.test_validate_collection_background
- Closed