summaryrefslogtreecommitdiff
path: root/src/mongo/client/remote_command_targeter_mock.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2015-09-18 13:22:59 -0400
committerDavid Storch <david.storch@10gen.com>2015-09-21 13:45:54 -0400
commit4e3f36d5e1c4d55e3c950456cef6da531ab72eff (patch)
tree1dbebb81b0f308e8015cf84482b13610f912ac50 /src/mongo/client/remote_command_targeter_mock.h
parent5c5108872a9af3e17b0da7edada0a9a780ade6a6 (diff)
downloadmongo-4e3f36d5e1c4d55e3c950456cef6da531ab72eff.tar.gz
SERVER-20456 inform ReplicaSetMonitor of unreachable host and re-target in new mongos read path
Diffstat (limited to 'src/mongo/client/remote_command_targeter_mock.h')
-rw-r--r--src/mongo/client/remote_command_targeter_mock.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/client/remote_command_targeter_mock.h b/src/mongo/client/remote_command_targeter_mock.h
index 3293300ce5d..19486b433e1 100644
--- a/src/mongo/client/remote_command_targeter_mock.h
+++ b/src/mongo/client/remote_command_targeter_mock.h
@@ -61,6 +61,11 @@ public:
void markHostNotMaster(const HostAndPort& host) override;
/**
+ * No-op for the mock.
+ */
+ void markHostUnreachable(const HostAndPort& host) override;
+
+ /**
* Sets the return value for the next call to connectionString.
*/
void setConnectionStringReturnValue(const ConnectionString returnValue);