Skip to content

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 review-priority-low Low Priority PR for Review: within 3 business days label Jul 17, 2025
@mongodb-drivers-pr-bot
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

review-priority-low Low Priority PR for Review: within 3 business days

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant