summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/topology_coordinator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/topology_coordinator.h')
-rw-r--r--src/mongo/db/repl/topology_coordinator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/topology_coordinator.h b/src/mongo/db/repl/topology_coordinator.h
index 2da14343ef9..3e8466ffd21 100644
--- a/src/mongo/db/repl/topology_coordinator.h
+++ b/src/mongo/db/repl/topology_coordinator.h
@@ -937,7 +937,8 @@ private:
Date_t now,
const OpTime& lastOpTimeFetched,
ReadPreference readPreference,
- bool firstAttempt) const;
+ bool firstAttempt,
+ bool shouldCheckStaleness) const;
// Returns the current "ping" value for the given member by their address.
Milliseconds _getPing(const HostAndPort& host);