Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10943

Disallow 3.6 query features in view definitions when featureCompatibilityVersion=3.4 (SERVER-31346)

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 11 weeks ago