summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/data_replicator_external_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/data_replicator_external_state.h')
-rw-r--r--src/mongo/db/repl/data_replicator_external_state.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/data_replicator_external_state.h b/src/mongo/db/repl/data_replicator_external_state.h
index 0102ddab533..a1b4bf61e87 100644
--- a/src/mongo/db/repl/data_replicator_external_state.h
+++ b/src/mongo/db/repl/data_replicator_external_state.h
@@ -110,13 +110,13 @@ public:
* This function creates an oplog buffer of the type specified at server startup.
*/
virtual std::unique_ptr<OplogBuffer> makeInitialSyncOplogBuffer(
- OperationContext* txn) const = 0;
+ OperationContext* opCtx) const = 0;
/**
* Creates an oplog buffer suitable for steady state replication.
*/
virtual std::unique_ptr<OplogBuffer> makeSteadyStateOplogBuffer(
- OperationContext* txn) const = 0;
+ OperationContext* opCtx) const = 0;
/**
* Returns the current replica set config if there is one, or an error why there isn't.
@@ -130,7 +130,7 @@ private:
*
* Used exclusively by the DataReplicator to construct a MultiApplier.
*/
- virtual StatusWith<OpTime> _multiApply(OperationContext* txn,
+ virtual StatusWith<OpTime> _multiApply(OperationContext* opCtx,
MultiApplier::Operations ops,
MultiApplier::ApplyOperationFn applyOperation) = 0;