-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved Bulk Write API #1509
Improved Bulk Write API #1509
Conversation
JAVA-5527 DRIVERS-2975 --------- Co-authored-by: Viacheslav Babanin <frest0512@gmail.com>
driver-core/src/main/com/mongodb/internal/operation/ClientBulkWriteOperation.java
Outdated
Show resolved
Hide resolved
- Created and documented the new Reactive Bulk Write API. - Enabled unified and prose tests for reactive Bulk Write API. JAVA-5530 --------- Co-authored-by: Valentin Kovalenko <valentin.male.kovalenko@gmail.com>
@@ -125,7 +125,7 @@ public final class ClusterFixture { | |||
private static final String MONGODB_OCSP_SHOULD_SUCCEED = "org.mongodb.test.ocsp.tls.should.succeed"; | |||
private static final String DEFAULT_DATABASE_NAME = "JavaDriverTest"; | |||
private static final int COMMAND_NOT_FOUND_ERROR_CODE = 59; | |||
public static final long TIMEOUT = 60L; | |||
public static final long TIMEOUT = 120L; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even this new value is not enough, and AbstractClientSideOperationsTimeoutProseTest.test11MultiBatchBulkWrites
times out sometimes: https://parsley.mongodb.com/test/mongo_java_driver_tests_jdk_secure__version~latest_os~linux_topology~sharded_cluster_auth~auth_ssl~ssl_jdk~jdk8_test_reactive_patch_dc9c8a60046b344d96682b304553730c74e174ae_67762302c5d98d0007f85923_25_01_02_05_24_22/0/a6808dc631487d69fa56640e53c71b5e?bookmarks=0,7,9,11,133&shareLine=0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Investigation ticket has been created https://jira.mongodb.org/browse/JAVA-5738.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! We checked that there are no build warnings and all TODOs have tickets linked.
The following test runners execute the unified and prose tests added in this PR:
com.mongodb.client.AbstractClientSideOperationsTimeoutProseTest
com.mongodb.client.unified.VersionedApiTest
com.mongodb.client.unified.UnifiedTransactionsTest
com.mongodb.client.unified.ServerSelectionLoggingTest
com.mongodb.client.unified.UnifiedRetryableWritesTest
com.mongodb.client.unified.CommandMonitoringTest
com.mongodb.client.unified.UnifiedCrudTest
com.mongodb.client.CrudProseTest
JAVA-4586:
JAVA-4586_bulk-write
feature branch. However, the test for it (CommandMessageTest.getCommandDocumentFromClientBulkWrite
) is in the current PR (it was introduced by Implement splitting and encodingops
,nsInfo
as separateOP_MSG
sections, implement prose tests #1495).ops
,nsInfo
as separateOP_MSG
sections, implement prose tests #1495)Base*
interfaces to better reflect the methods shared by different client write model options #1597, MakeAbstractClientUpdateModel
implementClientWriteModel
#1598, Tidy up BULK-TODOs #1599)