diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-01-30 19:56:27 -0500 |
---|---|---|
committer | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-01-30 19:56:27 -0500 |
commit | c065df4a1dae7fe0b73d7a85d13ff2beb47b459d (patch) | |
tree | 64f074dd92c1bf9c5b7a24231a1205ab8ce20296 /src/mongo/db/repl/topology_coordinator.h | |
parent | 4c7749d3145d03b184dd58c2c7f10cf1cab4c8ff (diff) | |
download | mongo-c065df4a1dae7fe0b73d7a85d13ff2beb47b459d.tar.gz |
Revert "SERVER-37639 Add checkIfCommitQuorumCanBeSatisfied() and checkIfCommitQuorumIsSatisfied() to the replication interface"
This reverts commit 368eb15160d51e53a42e4e0411a5572e513941cc.
Diffstat (limited to 'src/mongo/db/repl/topology_coordinator.h')
-rw-r--r-- | src/mongo/db/repl/topology_coordinator.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mongo/db/repl/topology_coordinator.h b/src/mongo/db/repl/topology_coordinator.h index 04656beaa26..b2c4f44fea4 100644 --- a/src/mongo/db/repl/topology_coordinator.h +++ b/src/mongo/db/repl/topology_coordinator.h @@ -44,7 +44,6 @@ #include "mongo/util/time_support.h" namespace mongo { -class CommitQuorumOptions; class Timestamp; namespace repl { @@ -660,23 +659,6 @@ public: */ std::map<int, boost::optional<OpTime>> latestKnownOpTimeSinceHeartbeatRestartPerMember() const; - /** - * Checks if the 'commitQuorum' can be satisifed by 'members'. Returns true if it can be - * satisfied. - * - * 'members' must be part of the replica set configuration. - */ - bool checkIfCommitQuorumCanBeSatisfied(const CommitQuorumOptions& commitQuorum, - const std::vector<MemberConfig>& members) const; - - /** - * Returns 'true' if the 'commitQuorum' is satisifed by the 'commitReadyMembers'. - * - * 'commitReadyMembers' must be part of the replica set configuration. - */ - bool checkIfCommitQuorumIsSatisfied(const CommitQuorumOptions& commitQuorum, - const std::vector<HostAndPort>& commitReadyMembers) const; - //////////////////////////////////////////////////////////// // // Test support methods |