[JAVA-2633] Remove unused batch splitting code in WriteProtocol and InsertMessage Created: 11/Oct/17  Updated: 29/Oct/23  Resolved: 16/Oct/17

Status: Closed
Project: Java Driver
Component/s: Wire Protocol, Write Operations
Affects Version/s: None
Fix Version/s: 3.6.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

There is unused batch splitting code in WriteProtocol and InsertMessage. It used be exercised when the legacy wire protocol was used for acknowledged writes, but after dropping 2.4 support MixedBulkWriteOperation only ever sense single write requests via the legacy wire protocol.

Given that, all that batch splitting code can be removed



 Comments   
Comment by Githook User [ 16/Oct/17 ]

Author:

{'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin', 'username': 'jyemin'}

Message: JAVA-2633: Remove batch splitting support for legacy writes since MixedBulkWriteOperation only ever sends a single write request
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/a7e03838bfdc984aa1498f612606b5caa35dbb0b

Comment by Jeffrey Yemin [ 16/Oct/17 ]

https://github.com/jyemin/mongo-java-driver/pull/59

Generated at Thu Feb 08 08:57:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.