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

3.4 release notes compatibility changes should mention stricter collection validation

    • 0.25

      In SERVER-25459, we added validation to reject unknown options to the create command. For example, the following command should now fail against a 3.4 server:

      db.runCommand({create: "myCollection", unknownOption: true});

      Most applications should not be affected by this change, since unknown options were simply ignored prior to the change in SERVER-25459. However, if an application misspells a collection option or otherwise delivers an incorrect option, it will receive errors from the server in 3.4. This change does not affect upgrade to 3.4, even when the data files already contain bad collection metadata, due to SERVER-26648.

      This is similar to the additional documentation requested in DOCS-9049.

            kay.kim@mongodb.com Kay Kim (Inactive)
            david.storch@mongodb.com David Storch
            0 Vote for this issue
            3 Start watching this issue

              7 years, 33 weeks, 5 days ago