Skip to content

Conversation

@stIncMale
Copy link
Member

@stIncMale stIncMale requested a review from jyemin September 6, 2023 23:21
@stIncMale stIncMale self-assigned this Sep 6, 2023
@stIncMale
Copy link
Member Author

stIncMale commented Sep 7, 2023

@jyemin in jyemin@f100207, you made a change in DefaultServer to avoid masking the MongoInterruptedException. I'll deal with it by addressing the root cause (after I figure out why the tests are failing): the code that calls SdamServerDescriptionManager.handleExceptionBeforeHandshake/handleExceptionAfterHandshake must not lose the original exception regardless whether it was caused by an interrupt or not.

Update: done.

@stIncMale stIncMale marked this pull request as draft September 7, 2023 00:16
@stIncMale stIncMale marked this pull request as ready for review September 7, 2023 05:49
Copy link
Collaborator

@jyemin jyemin left a comment

Choose a reason for hiding this comment

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

LGTM!

@stIncMale
Copy link
Member Author

The tests in https://github.com/mongodb/mongo-java-driver/tree/JAVA_5109 pass when run against the changes in this PR.

@stIncMale
Copy link
Member Author

Looks like the tests fail because the server broke something:

@stIncMale stIncMale merged commit 7ed5e70 into mongodb:master Sep 7, 2023
@stIncMale stIncMale deleted the JAVA-4646 branch September 7, 2023 21:08
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