diff options
Diffstat (limited to 'src/mongo/base/error_codes.yml')
-rw-r--r-- | src/mongo/base/error_codes.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/base/error_codes.yml b/src/mongo/base/error_codes.yml index 07a8353e4a7..88732abe837 100644 --- a/src/mongo/base/error_codes.yml +++ b/src/mongo/base/error_codes.yml @@ -425,6 +425,12 @@ error_codes: - {code: 341, name: ReshardCollectionAborted} - {code: 342, name: ReshardingCriticalSectionTimeout} + # ShardCannotRefreshDueToLocksHeld will be retried by the shards. Note that it is not under the + # NeedRetargettingError, meaning MongoS will pass it through to the client, because there is no + # case where it would be possible for MongoS to retry where MongoD couldn't. + - {code: 343, name: ShardCannotRefreshDueToLocksHeld, + extra: ShardCannotRefreshDueToLocksHeldInfo} + # Error codes 4000-8999 are reserved. # Non-sequential error codes for compatibility only) |