summaryrefslogtreecommitdiff
path: root/src/mongo/db/error_labels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/error_labels.cpp')
-rw-r--r--src/mongo/db/error_labels.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/error_labels.cpp b/src/mongo/db/error_labels.cpp
index ecb1e499168..b66d0df2d74 100644
--- a/src/mongo/db/error_labels.cpp
+++ b/src/mongo/db/error_labels.cpp
@@ -199,6 +199,8 @@ bool isTransientTransactionError(ErrorCodes::Error code,
case ErrorCodes::StaleDbVersion:
case ErrorCodes::TenantMigrationAborted:
case ErrorCodes::TenantMigrationCommitted:
+ // TODO: (SERVER-62375): Remove upgrade/downgrade code for internal transactions
+ case ErrorCodes::TxnRetryCounterNotSupported:
return true;
default:
isTransient = false;