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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.5
    • Component/s: None
    • Labels:
      None
    • Operating System:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: