-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Diagnostics
-
Fully Compatible
-
v5.0
-
Execution Team 2021-06-14
The validate() command works on the collection level to provide certain consistency checks. Validation is also available for document schemas, but document checks are not currently a part of the validate() checks.
It would be helpful to include document consistency checks to the BSON and index validations.
- is duplicated by
-
SERVER-54636 Update the validate cmd logic to verify correctness of time-series collections and their indexes
- Closed
- is related to
-
SERVER-60708 db.collection.validate() returns `nInvalidDocuments: 0` when invalid documents are present
- Closed
-
SERVER-80177 validate() should not return valid:false for non-compliant documents
- Closed