diff options
author | George Wangensteen <george.wangensteen@mongodb.com> | 2020-10-13 14:17:15 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-21 17:15:54 +0000 |
commit | 8de14ac959567c9bc29a108db65114ffd2a91163 (patch) | |
tree | 29851840c7d862dd683cdff46410ef569d31d777 /src/mongo/db/repl/topology_coordinator.h | |
parent | 982c685651b1d76222ac84aadf6130a51add1411 (diff) | |
download | mongo-8de14ac959567c9bc29a108db65114ffd2a91163.tar.gz |
SERVER-49183 Remove unused parameter from TopologyCoordinator::setLastOptime.
Diffstat (limited to 'src/mongo/db/repl/topology_coordinator.h')
-rw-r--r-- | src/mongo/db/repl/topology_coordinator.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/repl/topology_coordinator.h b/src/mongo/db/repl/topology_coordinator.h index 5f7f9fbe2c1..c76b0136194 100644 --- a/src/mongo/db/repl/topology_coordinator.h +++ b/src/mongo/db/repl/topology_coordinator.h @@ -573,9 +573,7 @@ public: * Returns a Status if the position could not be set, false if the last optimes for the node * did not change, or true if either the last applied or last durable optime did change. */ - StatusWith<bool> setLastOptime(const UpdatePositionArgs::UpdateInfo& args, - Date_t now, - long long* configVersion); + StatusWith<bool> setLastOptime(const UpdatePositionArgs::UpdateInfo& args, Date_t now); /** * Sets the latest optime committed in the previous config to the current lastCommitted optime. |