-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:
-
0.2
Documentation Request Summary:
We may want to add to our 3.6 featureCompatibility documentation instructions to remove views that contain 3.6 query features. You can run a 3.4 binary with these views, but any reads against them will fail.
Engineering Ticket Description:
When the featureCompatibilityVersion is 3.4, users should not be able to create a view that includes $expr or $jsonSchema in the $match stage. Disallowing this will prevent 3.4 secondaries from fasserting when replicating system.views and ensure that it is possible to downgrade to 3.4 as long as you have never set the featureCompatibilityVersion to 3.6.
- documents
-
SERVER-31346 Disallow 3.6 query features in view definitions when featureCompatibilityVersion=3.4
- Closed