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.

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

              Created:
              Updated:
              Resolved:
              7 years, 25 weeks, 2 days ago