Skip to content

Commit

Permalink
WT-6461 Add a verbose message for tombstones restored from the histor…
Browse files Browse the repository at this point in the history
…y store (#5836)
  • Loading branch information
quchenhao committed Jun 22, 2020
1 parent 08867ae commit 42c917d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/txn/txn_rollback_to_stable.c
Expand Up @@ -332,6 +332,11 @@ __rollback_row_ondisk_fixup_key(WT_SESSION_IMPL *session, WT_PAGE *page, WT_ROW
tombstone->txnid = cbt->upd_value->tw.stop_txn;
tombstone->durable_ts = cbt->upd_value->tw.durable_stop_ts;
tombstone->start_ts = cbt->upd_value->tw.stop_ts;
__wt_verbose(session, WT_VERB_RTS,
"tombstone restored from history store (txnid: %" PRIu64
", start_ts: %s, durable_ts: %s",
tombstone->txnid, __wt_timestamp_to_string(tombstone->start_ts, ts_string[0]),
__wt_timestamp_to_string(tombstone->durable_ts, ts_string[1]));

/*
* Set the flag to indicate that this update has been restored from history store
Expand Down

0 comments on commit 42c917d

Please sign in to comment.