summaryrefslogtreecommitdiff
path: root/src/btree/bt_split.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/btree/bt_split.c')
-rw-r--r--src/btree/bt_split.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/btree/bt_split.c b/src/btree/bt_split.c
index f1b96ad37f5..a14e82d980d 100644
--- a/src/btree/bt_split.c
+++ b/src/btree/bt_split.c
@@ -716,11 +716,10 @@ __split_multi_inmem(
/*
* We modified the page above, which will have set the first dirty
* transaction to the last transaction current running. However, the
- * updates we installed may be older than that. Take the oldest active
- * transaction ID to make sure these updates are not skipped by a
- * checkpoint.
+ * updates we installed may be older than that. Inherit the first
+ * dirty transaction from the original page.
*/
- page->modify->first_dirty_txn = S2C(session)->txn_global.oldest_id;
+ page->modify->first_dirty_txn = orig->modify->first_dirty_txn;
err: /* Free any resources that may have been cached in the cursor. */
WT_TRET(__wt_btcur_close(&cbt));
@@ -1137,8 +1136,8 @@ __wt_split_insert(WT_SESSION_IMPL *session, WT_REF *ref, int *splitp)
/*
* We modified the page above, which will have set the first dirty
* transaction to the last transaction current running. However, the
- * updates we are moving may be older than that: inherit the original
- * page's transaction ID.
+ * updates we installed may be older than that. Inherit the first
+ * dirty transaction from the original page.
*/
right->modify->first_dirty_txn = page->modify->first_dirty_txn;