Skip to content
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

Remove support for MongoDB 3.6 #1375

Merged
merged 6 commits into from
May 3, 2024
Merged

Remove support for MongoDB 3.6 #1375

merged 6 commits into from
May 3, 2024

Conversation

jyemin
Copy link
Contributor

@jyemin jyemin commented May 1, 2024

  • Remove branching code in the driver based on 3.6 version checks
  • Remove testing of 3.6
  • Clean up tests

JAVA-5294

Let me know if I was too aggressive on the test cleanup. None of it is strictly necessary, but it feels tidier.

* Remove branching code in the driver based on 3.6 version checks
* Remove testing of 3.5
* Clean up tests

JAVA-5294
@jyemin jyemin self-assigned this May 1, 2024
@jyemin jyemin requested a review from rozza May 1, 2024 18:09
Copy link
Member

@rozza rozza left a comment

Choose a reason for hiding this comment

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

LGTM!

@jyemin jyemin requested a review from rozza May 2, 2024 13:54
@jyemin
Copy link
Contributor Author

jyemin commented May 2, 2024

@rozza in my final checks before merging I found a few more places that needed updating

Copy link
Member

@rozza rozza left a comment

Choose a reason for hiding this comment

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

One question

@@ -41,6 +41,7 @@ import spock.lang.Specification

import static com.mongodb.connection.ClusterConnectionMode.MULTIPLE
import static com.mongodb.connection.ClusterConnectionMode.SINGLE
import static com.mongodb.internal.operation.ServerVersionHelper.LATEST_WIRE_VERSION
import static com.mongodb.internal.operation.ServerVersionHelper.THREE_DOT_SIX_WIRE_VERSION
Copy link
Member

Choose a reason for hiding this comment

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

Is ServerVersionHelper.THREE_DOT_SIX_WIRE_VERSION needed anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was just used in a few tests, so I replaced all usages with LATEST_WIRE_VERSION and removed it.

@jyemin jyemin requested a review from rozza May 2, 2024 15:33
Copy link
Member

@rozza rozza left a comment

Choose a reason for hiding this comment

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

LGTM

@jyemin jyemin merged commit 330d3b1 into mongodb:master May 3, 2024
50 of 52 checks passed
@jyemin jyemin deleted the JAVA-5294 branch May 3, 2024 14:22
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