diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2016-08-31 14:34:39 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2016-09-07 23:03:50 -0400 |
commit | 2d3d3d3a92e2b1549a638a6f06d8c408625a2287 (patch) | |
tree | b2aceb7900bc06add1956aaea6d493db7eb4e211 /src/mongo/base | |
parent | 410fefd45f65e7899d60ed420a81d6127d687fa8 (diff) | |
download | mongo-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.err | 1 |
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) |