Skip to content

Conversation

@neoneo008
Copy link

Improve mongodb bulkwrite performance by supporting configuration optional parameters

  1. Unordered writes: https://mongodb.github.io/mongo-java-driver/5.6/apidocs/driver-core/com/mongodb/client/model/BulkWriteOptions.html#ordered(boolean)
  2. Bypass document validation : https://mongodb.github.io/mongo-java-driver/5.6/apidocs/driver-core/com/mongodb/client/model/BulkWriteOptions.html#bypassDocumentValidation(java.lang.Boolean)

This is a backward compatible changes with existing behaviour of ordered writes with document validation is maintained configuration default values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant