summaryrefslogtreecommitdiff
path: root/src/btree/bt_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/btree/bt_sync.c')
-rw-r--r--src/btree/bt_sync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/btree/bt_sync.c b/src/btree/bt_sync.c
index dae2dd8d480..71b0d0abdb3 100644
--- a/src/btree/bt_sync.c
+++ b/src/btree/bt_sync.c
@@ -150,7 +150,8 @@ __sync_file(WT_SESSION_IMPL *session, int syncop)
*/
if (!WT_PAGE_IS_INTERNAL(page) &&
F_ISSET(txn, TXN_HAS_SNAPSHOT) &&
- TXNID_LT(txn->snap_max, mod->first_dirty_txn)) {
+ TXNID_LT(txn->snap_max, mod->first_dirty_txn) &&
+ !F_ISSET(mod, WT_PM_REC_REWRITE)) {
__wt_page_modify_set(session, page);
continue;
}