summaryrefslogtreecommitdiff
path: root/src/mongo/base
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2022-03-28 20:00:53 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-28 22:16:30 +0000
commit6712215aa513ddb3fe3ab181a7683ef4132f097c (patch)
tree109ac46fc6da407c16096ff1952558f9bf3a494d /src/mongo/base
parent05ea8339afabf09c07c43b374a060d8168fe873f (diff)
downloadmongo-6712215aa513ddb3fe3ab181a7683ef4132f097c.tar.gz
SERVER-64950 Use a named ErrorCode when asserting that you can't drop the last shard key index
Diffstat (limited to 'src/mongo/base')
-rw-r--r--src/mongo/base/error_codes.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/base/error_codes.yml b/src/mongo/base/error_codes.yml
index 351a708abe4..1471825c437 100644
--- a/src/mongo/base/error_codes.yml
+++ b/src/mongo/base/error_codes.yml
@@ -476,6 +476,7 @@ error_codes:
- {code: 367, name: FLECompactionPlaceholder}
- {code: 368, name: FLEStateCollectionContention}
- {code: 369, name: FLETransactionAbort}
+ - {code: 370, name: CannotDropShardKeyIndex}
# Error codes 4000-8999 are reserved.