Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-954

Add bypassDocumentValidation option to mongorestore and mongoimport

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.1, 3.3.0
    • Component/s: mongoimport, mongorestore
    • Labels:
      None
    • Documentation Changes:
      Completed
    • Sprint:
      Server Tools D (12/11/15), Server Tools E (01/08/16)

      Description

      mongorestore, mongoimport should have an option to bypass document validation (validation will be on by default).

      This is meant to be in alignment with other places where we allow pre-existing data to be out of conformance with the validator. mongorestore is arguably dealing with pre-existing data and used for backup/restore purposes. Without this bypass, that use case is no longer available.

      This may require an upgrade of the mgo driver to allow the insert write command to support this option. See: https://docs.mongodb.org/manual/release-notes/3.2/#bypass-validation

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                judah.schvimer Judah Schvimer
                Reporter:
                pasette Daniel Pasette
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: