Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2063

Driver does not obey continueOnError=true for a bulk insert that must be split into multiple OP_INSERT messages

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.0
    • Affects Version/s: 3.2.0
    • Component/s: Write Operations
    • Labels:
      None

      When the driver executes a bulk insert via one of the DBCollection.insert method and all of the following hold true:

      • The continueOnError flag is set to true
      • MongoDB <= 2.4
      • The write concern is unacknowledged
      • The total size of the documents exceeds the maximum message size for an OP_INSERT (48 MB)

      then the continueOnError flag is incorrectly ignored and treated the same as if continueOnError is false.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: