Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12393

can't turn off insert validation for shell/drivers bulk api

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.5.5
    • None
    • None
    • ALL

    Description

      Inserts still rely on clients to validate nested fields - the shell must maintain this validation even in the bulk api case. The server itself will not validate nested fields for correctness.

      Ideally these errors would be reported as write errors to maintain api consistency, but this isn't totally critical since it is safe to fail when building a batch.

      Recommended solution is to have per-DBCollection validate function for each write type, which can be overridden for tests.

      Attachments

        Issue Links

          Activity

            People

              randolph@mongodb.com Randolph Tan
              greg_10gen Greg Studer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: