summaryrefslogtreecommitdiff
path: root/src/mongo/base/error_codes.yml
diff options
context:
space:
mode:
authorJason Zhang <jason.zhang@mongodb.com>2020-10-13 00:28:43 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-10-22 23:47:43 +0000
commite428dcb7b9bc3d6b39c4a0de4db46c75441c9d64 (patch)
treecb90ac43f42bdb170af05959bd3f13b42ab669cf /src/mongo/base/error_codes.yml
parent22eb29f52ff8349d6cc10ec27b35af80d455f9ab (diff)
downloadmongo-e428dcb7b9bc3d6b39c4a0de4db46c75441c9d64.tar.gz
SERVER-51423 Test that a bulk write returns ok for the writes that complete before a migration starts blocking and TenantMigrationCommitted for the ones that don't
Diffstat (limited to 'src/mongo/base/error_codes.yml')
-rw-r--r--src/mongo/base/error_codes.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/base/error_codes.yml b/src/mongo/base/error_codes.yml
index 5b77c616dbe..3324135c668 100644
--- a/src/mongo/base/error_codes.yml
+++ b/src/mongo/base/error_codes.yml
@@ -29,6 +29,7 @@ error_categories:
- ValidationError
# Codes for internal use only that must never be returned in a network response.
- InternalOnly
+ - TenantMigrationError
error_codes:
- {code: 0,name: OK}
@@ -381,14 +382,14 @@ error_codes:
- {code: 318,name: ForTestingOptionalErrorExtraInfo,extra: OptionalErrorExtraInfoExample,extraIsOptional: True}
- {code: 319,name: MovePrimaryInProgress}
- - {code: 320, name: TenantMigrationConflict,extra: TenantMigrationConflictInfo}
- - {code: 321, name: TenantMigrationCommitted,extra: TenantMigrationCommittedInfo}
+ - {code: 320, name: TenantMigrationConflict,extra: TenantMigrationConflictInfo,categories: [TenantMigrationError]}
+ - {code: 321, name: TenantMigrationCommitted,extra: TenantMigrationCommittedInfo,categories: [TenantMigrationError]}
- {code: 322, name: APIVersionError, categories: [VersionedAPIError]}
- {code: 323, name: APIStrictError, categories: [VersionedAPIError]}
- {code: 324, name: APIDeprecationError, categories: [VersionedAPIError]}
- - {code: 325, name: TenantMigrationAborted}
+ - {code: 325, name: TenantMigrationAborted,categories: [TenantMigrationError]}
- {code: 326, name: OplogQueryMinTsMissing}