Skip to content

GODRIVER-3473 Add client-side validation for maxAwaitTime+op timeout #2130

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

Closed
wants to merge 2 commits into from

Conversation

prestonvasquez
Copy link
Member

GODRIVER-3473

Summary

Short circuit socket timeout by validating if maxAwaitTimeMS < operational timeout.

Background & Motivation

Currently the Go Driver allows the construction of a cursor with maxAwaitTime less than the operational timeout. This will always result in a socket timeout.

@prestonvasquez prestonvasquez requested a review from a team as a code owner July 17, 2025 21:27
@prestonvasquez prestonvasquez marked this pull request as draft July 17, 2025 21:28
@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot added the priority-3-low Low Priority PR for Review label Jul 17, 2025
Copy link
Contributor

API Change Report

No changes found!

@prestonvasquez prestonvasquez changed the title DRIVERS-3473 Add client-side validation for maxAwaitTime+op timeout GODRIVER-3473 Add client-side validation for maxAwaitTime+op timeout Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-3-low Low Priority PR for Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant