- Notifications
You must be signed in to change notification settings - Fork 246
DRIVERS-2972: add message requirement to ServerDescription.error #1729
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
Changes from all commits
ea5698d 6b75475 2668eb9 889e3dd 75ce4dd bc971f2 5d121b1 21187a9 b7adc0b b6dfeee 07976f0 cd84c0e a2bd209 becaa6b 47777df 483db4e 8bf359e 70532c7 9d51f24 cdb27c9 e97908e 4b8516d File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we expand the scope of this ticket to include more info in other cases where we reset a server to "unknown" besides stale primary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I think that makes sense to do here. Seems like the only other place we do that is in the
handleErrorfunction, so I'll take a look at that.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So there are two places we do this in our
handleErrorlogic, but in both cases, thehandleErrorfunction takes in an error as a parameter. Do we still want to be testing against the errors here?