-
Notifications
You must be signed in to change notification settings - Fork 919
GODRIVER-2388 Improved Bulk Write API. #1805
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
Conversation
API Change Report./mongocompatible changes(*Client).BulkWrite: added ./mongo/optionscompatible changesClientBulkWrite: added ./x/mongo/driverincompatible changes(*Batches).AdvanceBatch: removed compatible changes(*Batches).AdvanceBatches: added ./x/mongo/driver/sessionincompatible changesClient.RetryWrite: removed ./x/mongo/driver/wiremessageincompatible changesReadCompressedCompressedMessage: removed compatible changesDocumentSequenceToArray: added |
234d7f4 to
8f81f65
Compare
8ea5dc5 to
4f738e2
Compare
4f738e2 to
982b622
Compare
ba9f578 to
d2d8a49
Compare
76a9981 to
e3dcc91
Compare
dec06b9 to
ed94cf9
Compare
ed94cf9 to
00cc83a
Compare
3bb6bbf to
b287ccf
Compare
| assert.Equal(mt, cc.numCloseCalls, 0, | ||
| "expected 0 calls to Close, got %v", cc.numCloseCalls) | ||
| assert.Equal(mt, cc.numBypassAutoEncryptionCalls, 2, | ||
| assert.Equal(mt, cc.numBypassAutoEncryptionCalls, 1, |
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.
We only call it once after the operation.go refactoring.
|
|
||
| // ClientBulkWriteException is the error type returned by ClientBulkWrite operations. | ||
| type ClientBulkWriteException struct { | ||
| TopLevelError *WriteError |
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.
Cannot use Error as a field name because of the conflict with the conventional method name.
fe83c0b to
32ef4e0
Compare
f0cd171 to
c80bb4f
Compare
bf90492 to
48838bf
Compare
48838bf to
253845c
Compare
GODRIVER-2388
GODRIVER-3348
GODRIVER-3349
GODRIVER-3364
Summary
Improved Bulk Write API.
Background & Motivation
Refactor the
(Operation).createWireMessage()to support the bulk write batching.