diff options
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_external_state.h')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_external_state.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_external_state.h b/src/mongo/db/repl/replication_coordinator_external_state.h index c995f30a468..66283518bfe 100644 --- a/src/mongo/db/repl/replication_coordinator_external_state.h +++ b/src/mongo/db/repl/replication_coordinator_external_state.h @@ -255,9 +255,14 @@ public: virtual void signalApplierToChooseNewSyncSource() = 0; /** - * Notifies the bgsync to cancel the current oplog fetcher. + * Notifies the bgsync to stop fetching data. */ - virtual void signalApplierToCancelFetcher() = 0; + virtual void stopProducer() = 0; + + /** + * Start bgsync's producer if it's stopped. + */ + virtual void startProducerIfStopped() = 0; /** * Drops all snapshots and clears the "committed" snapshot. |