summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/reconcile/rec_row.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/reconcile/rec_row.c')
-rw-r--r--src/third_party/wiredtiger/src/reconcile/rec_row.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/src/reconcile/rec_row.c b/src/third_party/wiredtiger/src/reconcile/rec_row.c
index 002086f540e..6817ee53899 100644
--- a/src/third_party/wiredtiger/src/reconcile/rec_row.c
+++ b/src/third_party/wiredtiger/src/reconcile/rec_row.c
@@ -927,9 +927,14 @@ __wt_rec_row_leaf(
if (hs_cursor == NULL)
WT_ERR(__wt_curhs_open(session, NULL, &hs_cursor));
- /* From WT_TS_NONE to delete all the history store content of the key. */
- WT_ERR(__wt_hs_delete_key_from_ts(session, hs_cursor, btree->id, tmpkey,
- WT_TS_NONE, false, F_ISSET(r, WT_REC_CHECKPOINT_RUNNING)));
+ /*
+ * From WT_TS_NONE delete all the history store content of the key. This path
+ * will never be taken for a mixed-mode deletion being evicted and with a
+ * checkpoint that started prior to the eviction starting its reconciliation as
+ * previous checks done while selecting an update will detect that.
+ */
+ WT_ERR(__wt_hs_delete_key_from_ts(
+ session, hs_cursor, btree->id, tmpkey, WT_TS_NONE, false, false));
/* Fail 1% of the time. */
if (F_ISSET(r, WT_REC_EVICT) &&