-
Type:
Investigation
-
Resolution: Unresolved
-
Priority:
Medium
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Tools and Replicator
-
68
This project adds a new document validation level "constraint" as well as the prepareConstraintValidationLevel flag that must be set in a separate collMod before upgrading to constraint validation level from strict. once at constraint, you cannot change the validator or use bypassDocumentValidation without first downgrading back to "strict" validation level. "strict" validationLevel only guarantees new updates or inserts to the collection follow the schema. "constraint" is a stronger level that requires all existing documents (even those inserted before setting validationLevel "constraint") and is now the strongest schema guarantee we provide.
see https://docs.google.com/document/d/1rNKQc5CC6zv4o2L-MbTRAMXoo3xM-o9AzZyHDAaKx_4/edit?tab=t.0 for example workflow and more details
Description of Linked Ticket
Enable the feature flag for this project.
- depends on
-
SERVER-109234 Enable feature flag
-
- Closed
-