summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/apply_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/apply_ops.h')
-rw-r--r--src/mongo/db/repl/apply_ops.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mongo/db/repl/apply_ops.h b/src/mongo/db/repl/apply_ops.h
index 8aac61a39b9..7489c94a486 100644
--- a/src/mongo/db/repl/apply_ops.h
+++ b/src/mongo/db/repl/apply_ops.h
@@ -55,16 +55,12 @@ public:
/**
* This variant allows optimization for extracting multiple applyOps operations. The entry for
* the non-DurableReplOperation fields of the extracted operation must be specified as
- * 'topLevelDoc', and need not be any of the applyOps operations.
- *
- * If a commitOplogEntryTS Timestamp is passed in, then we are extracting applyOps operations
- * from a prepare oplog entry during initial sync. These operations must be timestamped at the
- * commit oplog entry timestamp instead of the prepareTimestamp.
+ * 'topLevelDoc', and need not be any of the applyOps operations. The 'topLevelDoc' entry's
+ * 'ts' field will be used as the 'ts' field for each operation.
*/
static void extractOperationsTo(const OplogEntry& applyOpsOplogEntry,
const BSONObj& topLevelDoc,
- MultiApplier::Operations* operations,
- boost::optional<Timestamp> commitOplogEntryTS);
+ MultiApplier::Operations* operations);
};
/**