summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/topology_coordinator.h
diff options
context:
space:
mode:
authorGeorge Wangensteen <george.wangensteen@mongodb.com>2020-10-13 14:17:15 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-10-21 17:15:54 +0000
commit8de14ac959567c9bc29a108db65114ffd2a91163 (patch)
tree29851840c7d862dd683cdff46410ef569d31d777 /src/mongo/db/repl/topology_coordinator.h
parent982c685651b1d76222ac84aadf6130a51add1411 (diff)
downloadmongo-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.h4
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.