summaryrefslogtreecommitdiff
path: root/src/mongo/base
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2016-08-31 14:34:39 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2016-09-07 23:03:50 -0400
commit2d3d3d3a92e2b1549a638a6f06d8c408625a2287 (patch)
treeb2aceb7900bc06add1956aaea6d493db7eb4e211 /src/mongo/base
parent410fefd45f65e7899d60ed420a81d6127d687fa8 (diff)
downloadmongo-2d3d3d3a92e2b1549a638a6f06d8c408625a2287.tar.gz
SERVER-25910 fail setShardVersion on mongod if not running with --shardsvr
Diffstat (limited to 'src/mongo/base')
-rw-r--r--src/mongo/base/error_codes.err1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/base/error_codes.err b/src/mongo/base/error_codes.err
index 0cac2a6528f..8f442c018a4 100644
--- a/src/mongo/base/error_codes.err
+++ b/src/mongo/base/error_codes.err
@@ -191,6 +191,7 @@ error_code("PrimarySteppedDown", 189)
error_code("MasterSlaveConnectionFailure", 190)
error_code("BalancerLostDistributedLock", 191)
error_code("FailPointEnabled", 192)
+error_code("NoShardingEnabled", 193)
# Non-sequential error codes (for compatibility only)
error_code("SocketException", 9001)