Skip to content
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-2905 fix link to PoolClearedError #1579

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/retryable-reads/retryable-reads.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ An error is considered retryable if it meets any of the following criteria:
| NetworkTimeout | 89 |
| SocketException | 9001 |

- a [PoolClearedError](<>)
- a [PoolClearedError](../connection-monitoring-and-pooling/connection-monitoring-and-pooling.md#connection-pool-errors)
- Any of the above retryable errors that occur during a connection handshake (including the authentication step). For
example, a network error or ShutdownInProgress error encountered when running the hello or saslContinue commands.

Expand Down
7 changes: 4 additions & 3 deletions source/retryable-writes/retryable-writes.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,10 @@ The RetryableWriteError label might be added to an error in a variety of ways:
MUST add a RetryableWriteError label to that error if the MongoClient performing the operation has the retryWrites
configuration option set to true.

- When a CMAP-compliant driver encounters a [PoolClearedError](<>) during connection check out, it MUST add a
RetryableWriteError label to that error if the MongoClient performing the operation has the retryWrites configuration
option set to true.
- When a CMAP-compliant driver encounters a
[PoolClearedError](../connection-monitoring-and-pooling/connection-monitoring-and-pooling.md#connection-pool-errors)
during connection check out, it MUST add a RetryableWriteError label to that error if the MongoClient performing the
operation has the retryWrites configuration option set to true.

- For server versions 4.4 and newer, the server will add a RetryableWriteError label to errors or server responses that
it considers retryable before returning them to the driver. As new server versions are released, the errors that are
Expand Down
Loading