Skip to content

Conversation

@arm4b
Copy link
Member

@arm4b arm4b commented Aug 23, 2021

A follow-up to #5302 where we replaced isMaster with hello for checking Mongo connection. Instead of mongodb version-specific hello, use ping instead that works with any mongo version as a safer alternative.

See https://www.mongodb.com/community/forums/t/how-to-use-the-new-hello-interface-for-availability/116748/

Credit goes to @blag for finding a better solution.
@lukepatrick would appreciate your feedback as well if we're good here.

@arm4b arm4b requested review from blag and nzlosh August 23, 2021 20:42
@pull-request-size pull-request-size bot added the size/XS PR that changes 0-9 lines. Quick fix/merge. label Aug 23, 2021
@arm4b arm4b added this to the 3.6.0 milestone Aug 23, 2021
@blag blag merged commit 76feb92 into master Aug 23, 2021
@blag blag deleted the fix/mongo-hello-ping branch August 23, 2021 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement size/XS PR that changes 0-9 lines. Quick fix/merge.

3 participants