diff options
author | Cheahuychou Mao <cheahuychou.mao@mongodb.com> | 2020-04-13 10:54:03 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-20 16:20:24 +0000 |
commit | e84cf820af0e835b822f6599794ce8f4568c56b8 (patch) | |
tree | 22bc1b57cb6348005b0454e972219e78b9f3ddef /src/mongo/client/sdam/topology_description.cpp | |
parent | cd5543391366d5344aeea2fc0f3a3a319728bd9b (diff) | |
download | mongo-e84cf820af0e835b822f6599794ce8f4568c56b8.tar.gz |
SERVER-47560 Include "internalClient" field in ReplicaSetMonitor isMaster requests
Diffstat (limited to 'src/mongo/client/sdam/topology_description.cpp')
-rw-r--r-- | src/mongo/client/sdam/topology_description.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/client/sdam/topology_description.cpp b/src/mongo/client/sdam/topology_description.cpp index 610fd215670..cd89535e1bc 100644 --- a/src/mongo/client/sdam/topology_description.cpp +++ b/src/mongo/client/sdam/topology_description.cpp @@ -32,8 +32,11 @@ #include "mongo/client/sdam/server_description.h" #include "mongo/db/wire_version.h" #include "mongo/logv2/log.h" +#include "mongo/util/fail_point.h" namespace mongo::sdam { +MONGO_FAIL_POINT_DEFINE(topologyDescriptionInstallServerDescription); + //////////////////////// // TopologyDescription //////////////////////// @@ -141,6 +144,9 @@ boost::optional<ServerDescriptionPtr> TopologyDescription::installServerDescript checkWireCompatibilityVersions(); calculateLogicalSessionTimeout(); + + topologyDescriptionInstallServerDescription.shouldFail(); + return previousDescription; } |