diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-04-06 13:48:53 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-04-12 08:57:13 -0400 |
commit | 999ec2fca89384f57b3fe0468ee7b57c40dabf14 (patch) | |
tree | 4ae0d9f798c2768174d89e4464702c79093d8deb /src/mongo/s/client/sharding_connection_hook.cpp | |
parent | 9cc021793df988637ec07dd68abc8ae4acff45c8 (diff) | |
download | mongo-999ec2fca89384f57b3fe0468ee7b57c40dabf14.tar.gz |
SERVER-28663 rename config server metadata from configsvr to $configsvr
This is prep for OP_MSG where "configsvr" conflicts with a field of the same
name in the reply to isMaster. OP_COMMAND will continue to use the old name
since it will only be used to communicate with older nodes.
Diffstat (limited to 'src/mongo/s/client/sharding_connection_hook.cpp')
-rw-r--r-- | src/mongo/s/client/sharding_connection_hook.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/s/client/sharding_connection_hook.cpp b/src/mongo/s/client/sharding_connection_hook.cpp index 057a9de1c4d..ec162426ce0 100644 --- a/src/mongo/s/client/sharding_connection_hook.cpp +++ b/src/mongo/s/client/sharding_connection_hook.cpp @@ -96,6 +96,7 @@ void ShardingConnectionHook::onCreate(DBClientBase* conn) { // This isn't a config server we're talking to. return; } + uassertStatusOK(status); const long long minKnownConfigServerMode = 1; const long long maxKnownConfigServerMode = 2; |