Skip to content

Conversation

@FGasper
Copy link
Collaborator

@FGasper FGasper commented Nov 14, 2025

This adds support for MongoDB 4.0 sources to Migration Verifier.

  • The support is limited to replica sets because 4.0 didn’t support change streams from a mongos.
  • The only tested destination version is 8.0.
  • This downgrades the Go driver to v2.3.1 because that’s the last version that supported 4.0.
  • CI also now uses an outdated PyMongo for the same reason.

Also added is CI testing of 4.2->8.0.

@FGasper FGasper requested a review from autarch November 14, 2025 16:41
@FGasper FGasper marked this pull request as ready for review November 14, 2025 16:41
Copy link
Collaborator

@autarch autarch left a comment

Choose a reason for hiding this comment

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

LGTM % one tiny thing.

go.mod Outdated
github.com/stretchr/testify v1.10.0
github.com/urfave/cli v1.22.9
go.mongodb.org/mongo-driver/v2 v2.4.0
go.mongodb.org/mongo-driver/v2 v2.1.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

It'd probably be good to add a comment here explaining why this can't be upgraded.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added

@FGasper FGasper merged commit b83d295 into mongodb-labs:main Nov 14, 2025
103 checks passed
@FGasper FGasper deleted the REP-6829-support-40 branch November 14, 2025 18:15
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