diff options
author | Jason Zhang <jason.zhang@mongodb.com> | 2020-10-13 00:28:43 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-22 23:47:43 +0000 |
commit | e428dcb7b9bc3d6b39c4a0de4db46c75441c9d64 (patch) | |
tree | cb90ac43f42bdb170af05959bd3f13b42ab669cf /src/mongo/base/error_codes.yml | |
parent | 22eb29f52ff8349d6cc10ec27b35af80d455f9ab (diff) | |
download | mongo-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.yml | 7 |
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} |