summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/topology_coordinator.h
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2014-09-08 11:37:42 -0400
committerEric Milkie <milkie@10gen.com>2014-09-12 10:39:11 -0400
commitff1ee391747092e2d03765402c6ab25ba7e1d538 (patch)
treed0650ad040b4b63ed75de9a0d5a349558dd8658f /src/mongo/db/repl/topology_coordinator.h
parentce737ebed71bc4485180b86832e907d820858664 (diff)
downloadmongo-ff1ee391747092e2d03765402c6ab25ba7e1d538.tar.gz
SERVER-15089 chooseNewSyncSource hooked up in replication Applier
Diffstat (limited to 'src/mongo/db/repl/topology_coordinator.h')
-rw-r--r--src/mongo/db/repl/topology_coordinator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/topology_coordinator.h b/src/mongo/db/repl/topology_coordinator.h
index 4aa76f8e107..83ed1c80b2a 100644
--- a/src/mongo/db/repl/topology_coordinator.h
+++ b/src/mongo/db/repl/topology_coordinator.h
@@ -112,7 +112,7 @@ namespace repl {
/**
* Chooses and sets a new sync source, based on our current knowledge of the world.
*/
- virtual void chooseNewSyncSource(Date_t now, const OpTime& lastOpApplied) = 0;
+ virtual HostAndPort chooseNewSyncSource(Date_t now, const OpTime& lastOpApplied) = 0;
/**
* Suppresses selecting "host" as sync source until "until".