diff options
author | Shaileja Jain <shaileja.jain@gmail.com> | 2019-06-13 11:22:10 -0400 |
---|---|---|
committer | Shaileja Jain <shaileja.jain@gmail.com> | 2019-06-26 15:52:11 -0400 |
commit | dac50f778efc784c316b79d1d936865f8cca59fe (patch) | |
tree | 860455c08f51d8d89f3666d1e11401fdde6bb36d /src/mongo/client/replica_set_monitor_internal.h | |
parent | 7a02a2f84da35e671736427fea01a7b08a3b8f3f (diff) | |
download | mongo-dac50f778efc784c316b79d1d936865f8cca59fe.tar.gz |
SERVER-40490 RSM should check replicas at most twice per second
Diffstat (limited to 'src/mongo/client/replica_set_monitor_internal.h')
-rw-r--r-- | src/mongo/client/replica_set_monitor_internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/client/replica_set_monitor_internal.h b/src/mongo/client/replica_set_monitor_internal.h index e7a57cc6543..76b67e975e0 100644 --- a/src/mongo/client/replica_set_monitor_internal.h +++ b/src/mongo/client/replica_set_monitor_internal.h @@ -134,7 +134,9 @@ public: Date_t lastWriteDate{}; // from isMasterReply Date_t lastWriteDateUpdateTime{}; // set to the local system's time at the time of updating // lastWriteDate - repl::OpTime opTime{}; // from isMasterReply + Date_t nextPossibleIsMasterCall{}; // time that previous isMaster check ended + executor::TaskExecutor::CallbackHandle scheduledIsMasterHandle; // + repl::OpTime opTime{}; // from isMasterReply }; using Nodes = std::vector<Node>; |