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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: