summaryrefslogtreecommitdiff
path: root/jstests/replsets/oplog_replay_on_startup.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/oplog_replay_on_startup.js')
-rw-r--r--jstests/replsets/oplog_replay_on_startup.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/replsets/oplog_replay_on_startup.js b/jstests/replsets/oplog_replay_on_startup.js
index 050cbe1cc5d..248d04aa1a3 100644
--- a/jstests/replsets/oplog_replay_on_startup.js
+++ b/jstests/replsets/oplog_replay_on_startup.js
@@ -72,10 +72,6 @@
var injectedMinValidDoc = {
_id: ObjectId(),
- // minvalid:
- ts: ts(minValid),
- t: term,
-
// appliedThrough
begin: {
ts: ts(begin),
@@ -83,6 +79,10 @@
},
oplogDeleteFromPoint: ts(deletePoint),
+
+ // minvalid:
+ t: term,
+ ts: ts(minValid),
};
// This weird mechanism is the only way to bypass mongod's attempt to fill in null