Skip to content

JAVA-6164 Bump maxWireVersion to 29 for MongoDB 9.0 - #2067

Open
nhachicha wants to merge 1 commit into
mongodb:mainfrom
nhachicha:JAVA-6164
Open

nhachicha wants to merge 1 commit into
mongodb:mainfrom
nhachicha:JAVA-6164

Conversation

@nhachicha

Copy link
Copy Markdown
Collaborator

No description provided.

@nhachicha nhachicha self-assigned this Oct 1, 2026
@nhachicha
nhachicha requested a review from a team as a code owner October 1, 2026 13:51
@nhachicha
nhachicha requested review from apmasell and strogiyotec and a balanced review from Copilot and removed request for apmasell October 1, 2026 13:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The new compatibility boundary lacks a direct test that verifies value 29 and consistency between the duplicated constants.

Review effort: Balanced
Findings: 1 Low severity

Open (1)
What changed in this PR

Updates driver-core compatibility for MongoDB 9.0 and wire version 29.

Changes:

  • Raises the maximum supported wire version to 29.
  • Adds MongoDB 9.0 wire-version constants and test mapping.
  • Retains the MongoDB 8.0 mapping.

Human review is required for this compatibility change.

File Description
ServerDescription.java Raises the supported maximum wire version.
ServerVersionHelper.java Defines 9.0 as the latest wire version.
OperationUnitSpecification.groovy Updates server-to-wire-version test data.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread driver-core/src/main/com/mongodb/connection/ServerDescription.java

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants