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

3.4 release notes compatibility changes should mention stricter collection validation

    XMLWordPrintable

Details

    • 0.25
    • KANBAN BUCKET
    • true

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 40 weeks, 6 days ago