summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_future_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_future_util.h')
-rw-r--r--src/mongo/db/s/resharding/resharding_future_util.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/s/resharding/resharding_future_util.h b/src/mongo/db/s/resharding/resharding_future_util.h
index 78847350d0c..0bb858a963c 100644
--- a/src/mongo/db/s/resharding/resharding_future_util.h
+++ b/src/mongo/db/s/resharding/resharding_future_util.h
@@ -131,8 +131,7 @@ public:
status.isA<ErrorCategory::CursorInvalidatedError>() ||
status == ErrorCodes::Interrupted ||
status.isA<ErrorCategory::CancellationError>() ||
- status.isA<ErrorCategory::NotPrimaryError>() ||
- status.isA<ErrorCategory::NetworkTimeoutError>()) {
+ status.isA<ErrorCategory::NotPrimaryError>()) {
// Always attempt to retry on any type of retryable error. Also retry on errors
// from stray killCursors and killOp commands being run. Cancellation and
// NotPrimary errors may indicate the primary-only service Instance will be shut