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

upgrade mongodb to v3.6.7 #10265

Closed
wants to merge 2 commits into from

Conversation

AbdelrahmanHafez
Copy link
Collaborator

No description provided.

@@ -910,7 +910,7 @@ function _setClient(conn, client, options, dbName) {
});
client.on('serverDescriptionChanged', ev => {
const newDescription = ev.newDescription;
if (newDescription.type === 'Standalone') {
if (newDescription.type === 'Standalone' || newDescription.type === 'Unknown') {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is not likely to be the correct fix here, because if the topology description is "Unknown" we shouldn't consider that as "reconnected." Is this to try to work around the 'timeout' issue in the first commit's test failures?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, frankly I am not familiar enough with the connection details, I've been trying to make the tests pass but without luck.
You'd probably be much more efficient at fixing this than me.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@AbdelrahmanHafez I think I identified the issue and opened up a PR in the MongoDB driver. We'll see what they say, I'm not sure whether this was an intentional change or not.

Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

I upgraded to mongodb@3.6.8 in master, so this PR is no longer necessary. Thanks 👍

@vkarpov15 vkarpov15 closed this May 21, 2021
vkarpov15 added a commit that referenced this pull request May 21, 2021
@AbdelrahmanHafez AbdelrahmanHafez deleted the patch-10 branch May 22, 2021 23:29
This was referenced Jul 14, 2021
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.

None yet

2 participants