summaryrefslogtreecommitdiff
path: root/src/mongo/base
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2018-04-02 22:29:16 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2018-04-03 11:49:44 -0400
commit4952085fcdecaaffed00855f8271ffa984a5d4ae (patch)
tree6103616ccc8a5bd0cd7ea9a4c2579e7c7cfd21f5 /src/mongo/base
parent1a1b3de8f56e363897077d5b4c3fec9482be285a (diff)
downloadmongo-4952085fcdecaaffed00855f8271ffa984a5d4ae.tar.gz
SERVER-34271 Rename ErrorCodes::isStaleShardingError to ErrorCodes::isStaleShardVersionError
Diffstat (limited to 'src/mongo/base')
-rw-r--r--src/mongo/base/error_codes.err2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/base/error_codes.err b/src/mongo/base/error_codes.err
index a27cf0012c1..286fba9d5a9 100644
--- a/src/mongo/base/error_codes.err
+++ b/src/mongo/base/error_codes.err
@@ -290,7 +290,7 @@ error_class("NotMasterError", [
"InterruptedDueToReplStateChange",
"PrimarySteppedDown",
])
-error_class("StaleShardingError",
+error_class("StaleShardVersionError",
["StaleConfig", "StaleShardVersion", "StaleEpoch"])
error_class("NeedRetargettingError",
["StaleConfig", "StaleShardVersion", "StaleEpoch", "CannotImplicitlyCreateCollection"])