summaryrefslogtreecommitdiff
path: root/src/mongo/client/remote_command_targeter_rs.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-10-17 10:45:25 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-10-24 09:44:10 -0400
commit80d6ca07522fce27f9559007791ebe4a1afe0866 (patch)
treec5231e95d2436e229220b38c2305b7396f37558e /src/mongo/client/remote_command_targeter_rs.h
parent0609d0ce2ef563d7a4cde77d46396fe5c92c6df1 (diff)
downloadmongo-80d6ca07522fce27f9559007791ebe4a1afe0866.tar.gz
SERVER-26683 Log reason for marking repl hosts as failed in the RSM
Diffstat (limited to 'src/mongo/client/remote_command_targeter_rs.h')
-rw-r--r--src/mongo/client/remote_command_targeter_rs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/remote_command_targeter_rs.h b/src/mongo/client/remote_command_targeter_rs.h
index 9917613834e..7a8851c01ee 100644
--- a/src/mongo/client/remote_command_targeter_rs.h
+++ b/src/mongo/client/remote_command_targeter_rs.h
@@ -58,9 +58,9 @@ public:
StatusWith<HostAndPort> findHostWithMaxWait(const ReadPreferenceSetting& readPref,
Milliseconds maxWait) override;
- void markHostNotMaster(const HostAndPort& host) override;
+ void markHostNotMaster(const HostAndPort& host, const Status& status) override;
- void markHostUnreachable(const HostAndPort& host) override;
+ void markHostUnreachable(const HostAndPort& host, const Status& status) override;
private:
// Name of the replica set which this targeter maintains