diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2017-10-30 15:46:36 -0400 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2017-11-09 09:39:44 -0500 |
commit | 271879b7a67c9d9b36778692f2a77e04c6403a1f (patch) | |
tree | a4e8911bcb4ac5a0a494725db9b65e92b0f44ae6 /src/mongo/db/dbdirectclient.cpp | |
parent | 9a7ab2468ec94462890395cc591cd629d1dd9f7c (diff) | |
download | mongo-271879b7a67c9d9b36778692f2a77e04c6403a1f.tar.gz |
SERVER-31631 Bump minimum outgoing wire version for mongod when featureCompatibilityVersion is 3.6
Diffstat (limited to 'src/mongo/db/dbdirectclient.cpp')
-rw-r--r-- | src/mongo/db/dbdirectclient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/dbdirectclient.cpp b/src/mongo/db/dbdirectclient.cpp index c644f2dd631..132a01131ce 100644 --- a/src/mongo/db/dbdirectclient.cpp +++ b/src/mongo/db/dbdirectclient.cpp @@ -95,12 +95,12 @@ std::string DBDirectClient::getServerAddress() const { // Returned version should match the incoming connections restrictions. int DBDirectClient::getMinWireVersion() { - return WireSpec::instance().incoming.minWireVersion; + return WireSpec::instance().incomingExternalClient.minWireVersion; } // Returned version should match the incoming connections restrictions. int DBDirectClient::getMaxWireVersion() { - return WireSpec::instance().incoming.maxWireVersion; + return WireSpec::instance().incomingExternalClient.maxWireVersion; } bool DBDirectClient::isReplicaSetMember() const { |