{{ message }}
Repository navigation
GODRIVER-4062 Remove the ServerOverloadedError retry example. - #2568
Merged
prestonvasquez merged 2 commits intoSep 2, 2026
Merged
Conversation
Contributor
matthewdale
force-pushed
the
godriver4062-backoff-ex
branch
from
August 28, 2026 07:28
0e44ef1 to
49dc0e9
Compare
Contributor
matthewdale
marked this pull request as ready for review
August 28, 2026 07:34
matthewdale
requested review from
prestonvasquez
and
a lite review from Copilot
August 28, 2026 07:34
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the examples/overload_error retry logic to incorporate MongoDB 9.0’s server-provided baseBackoffMS value for SystemOverloadedError retries, demonstrating how clients can start exponential backoff from a server-recommended baseline.
Changes:
- Added parsing for
baseBackoffMSfrom command errors and write concern errors to derive a server-provided base backoff. - Refactored retry delay calculation into helper functions for exponential backoff and jitter.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
prestonvasquez
requested changes
Aug 31, 2026
prestonvasquez
enabled auto-merge (squash)
September 2, 2026 21:59
prestonvasquez
approved these changes
Sep 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

GODRIVER-4062
Summary
Remove the ServerOverloadedError retry example.
Background & Motivation
Move the example to the Go Driver docs site to prevent confusion about whether or not the Go Driver natively supports the new server IWM backoff behavior.