From b17dfaaec98f63c16d05c9f76768df98be78699e Mon Sep 17 00:00:00 2001 From: Jack Mulrow Date: Mon, 28 Feb 2022 19:31:31 +0000 Subject: SERVER-59186 Use transaction API for all current changing a document's shard key logic --- src/mongo/base/error_codes.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mongo/base') diff --git a/src/mongo/base/error_codes.yml b/src/mongo/base/error_codes.yml index c31a44c24b4..4e7a683ed49 100644 --- a/src/mongo/base/error_codes.yml +++ b/src/mongo/base/error_codes.yml @@ -471,6 +471,8 @@ error_codes: - {code: 365, name: TemporarilyUnavailable} + - {code: 366, name: WouldChangeOwningShardDeletedNoDocument} + # Error codes 4000-8999 are reserved. # Non-sequential error codes for compatibility only) -- cgit v1.2.1