Skip to content

Conversation

@FGasper
Copy link
Collaborator

@FGasper FGasper commented Nov 28, 2024

This accommodates SERVER-32198 by:
a) flushing all mongos configs whenever it connects to a pre-v5 sharded cluster
b) forbidding SRV connection strings for pre-v5 clusters

@FGasper FGasper requested a review from tdq45gj December 3, 2024 02:22
Copy link
Collaborator

@tdq45gj tdq45gj left a comment

Choose a reason for hiding this comment

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

LGTM other than the error message.

@FGasper FGasper merged commit 5447ce5 into mongodb-labs:main Dec 3, 2024
33 checks passed
@FGasper FGasper deleted the REP-5337-flush-router-config branch December 3, 2024 14:47
FGasper added a commit that referenced this pull request Dec 4, 2024
PR #64 introduced a bug where it would try to refresh mongoses regardless of server version.

This fixes that by only refreshing mongoses for pre-v5 server versions.
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