Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25937

Writing to system.views collection should not error when featureCompatibilityVersion is 3.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.14
    • Querying
    • Fully Compatible
    • ALL
    • Query 2016-09-19
    • 0

    Description

      This causes an issue on initial sync if we sync system.views before admin.system.version. Then we will error on inserting into system.views because we have not yet set featureCompatibilityVersion to 3.4. As a solution, we will not error on writing to system.views when featureCompatibilityVersion is 3.2. Users will still be prevented from creating views using the create command when featureCompatibilityVersion is 3.2, but they will be allowed to write directly to system.views. Resolving SERVER-25890 would prevent users from writing directly to system.views at all times.

      Attachments

        Issue Links

          Activity

            People

              tess.avitabile@mongodb.com Tess Avitabile (Inactive)
              tess.avitabile@mongodb.com Tess Avitabile (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: