From 4fc1b584df6057df90ad7bf4c6a6f674e0dbf8b1 Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Tue, 7 May 2024 14:33:15 -0400 Subject: [PATCH] DRIVERS-2905 fix link to `PoolClearedError` --- source/retryable-reads/retryable-reads.md | 2 +- source/retryable-writes/retryable-writes.md | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/source/retryable-reads/retryable-reads.md b/source/retryable-reads/retryable-reads.md index 05284e0e61..e3227a9866 100644 --- a/source/retryable-reads/retryable-reads.md +++ b/source/retryable-reads/retryable-reads.md @@ -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. diff --git a/source/retryable-writes/retryable-writes.md b/source/retryable-writes/retryable-writes.md index aa300b3455..974295302e 100644 --- a/source/retryable-writes/retryable-writes.md +++ b/source/retryable-writes/retryable-writes.md @@ -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