[JAVA-4299]  Remove code that implements support for server version 3.4 Created: 14/Sep/21  Updated: 28/Oct/23  Resolved: 13/Sep/22

Status: Closed
Project: Java Driver
Component/s: Wire Protocol
Affects Version/s: None
Fix Version/s: 4.8.0

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

Epic Link: Remove support for pre-3.6 server versions
Quarter: FY23Q3
Backwards Compatibility: Major Change
Documentation Changes: Not Needed

 Comments   
Comment by Githook User [ 13/Sep/22 ]

Author:

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

Message: Remove MongoDB 3.4 support

  • Remove wire version check for including cursor field in aggregate command
  • Remove wire version check for retryable reads and writes
  • Remove wire version check for use OP_INSERT/UPDATE/DELETE for unacknowledged writes
  • Remove dead code that supported OP_INSERT/UPDATE/DELETE
  • Simplify CommandMessage to assume OP_QUERY is not used with payloads
    (because it's not only used to send the isMaster command)

JAVA-4299
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/b602a79cf3bda96f29135dfa318d81983f9b0442

Generated at Thu Feb 08 09:01:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.