-
Notifications
You must be signed in to change notification settings - Fork 244
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
DRIVERS-1389 Make ExceededTimeLimit a retryable reads error #1478
Conversation
…rror codes that should receive a RetryableReadError label
Co-authored-by: Jeremy Mikola <[email protected]>
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.
Test passes in the Go driver: https://spruce.mongodb.com/version/656776023627e0d2079bcbbc
The Go driver already considers error 262 a retryable read and does not need changes to pass this test.
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.
The test passes in Rust with 262 added to our list of read-retryable error codes. Changes LGTM mod other reviewers' comments.
Thanks everyone for the reviews. I've implemented the suggestions, and the PR is ready for another round of review. |
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.
LGTM!
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.
LGTM w/ or w/o the suggested comment revision.
|
||
schemaVersion: "1.3" | ||
|
||
runOnRequirements: |
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.
Noted that these requirements are consistent with the legacy tests in https://github.com/mongodb/specifications/blob/master/source/retryable-reads/tests/legacy/find.yml
Co-authored-by: Jeremy Mikola <[email protected]>
Please complete the following before merging:
See the C Driver implementation for reference.