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

3.4 release notes compatibility changes should mention stricter collection validation

    XMLWordPrintable

    Details

    • # Replies:
      2
    • Last comment by Customer:
      true
    • Story Points:
      0.25
    • Sprint:
      KANBAN BUCKET

      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

              Assignee:
              kay.kim Kay Kim (Inactive)
              Reporter:
              david.storch David Storch
              Participants:
              Last commenter:
              Jonathan Dahl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                3 years, 51 weeks ago
                Date of 1st Reply: