We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78760c0 commit cb0d596Copy full SHA for cb0d596
driver-core/src/main/com/mongodb/internal/operation/ClientBulkWriteOperation.java
@@ -685,8 +685,6 @@ private static final class ExhaustiveClientBulkWriteCommandOkResponse {
685
} else if (cursorExhaustBatches.size() == 1) {
686
cursorExhaust = cursorExhaustBatches.get(0);
687
} else {
688
- //TODO-VALENTIN-question can we do this flatmap in cursor exasust method to simplify the flow?
689
- // we can do either flat map above or change getCursorExhaust to return List of Lists (if any perf benefit)
690
cursorExhaust = cursorExhaustBatches.stream().flatMap(Collection::stream).collect(toList());
691
}
692
0 commit comments