diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/support/stat.c')
-rw-r--r-- | src/third_party/wiredtiger/src/support/stat.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/support/stat.c b/src/third_party/wiredtiger/src/support/stat.c index c33d3b60bef..52db5e50094 100644 --- a/src/third_party/wiredtiger/src/support/stat.c +++ b/src/third_party/wiredtiger/src/support/stat.c @@ -1416,6 +1416,9 @@ static const char *const __stats_connection_desc[] = { "transaction: prepared transactions committed", "transaction: prepared transactions currently active", "transaction: prepared transactions rolled back", + "transaction: prepared transactions rolled back and do not remove the history store entry", + "transaction: prepared transactions rolled back and fix the history store entry with checkpoint " + "reserved transaction id", "transaction: query timestamp calls", "transaction: race to read prepared update retry", "transaction: rollback to stable calls", @@ -1942,6 +1945,8 @@ __wt_stat_connection_clear_single(WT_CONNECTION_STATS *stats) stats->txn_prepare_commit = 0; stats->txn_prepare_active = 0; stats->txn_prepare_rollback = 0; + stats->txn_prepare_rollback_do_not_remove_hs_update = 0; + stats->txn_prepare_rollback_fix_hs_update_with_ckpt_reserved_txnid = 0; stats->txn_query_ts = 0; stats->txn_read_race_prepare_update = 0; stats->txn_rts = 0; @@ -2477,6 +2482,10 @@ __wt_stat_connection_aggregate(WT_CONNECTION_STATS **from, WT_CONNECTION_STATS * to->txn_prepare_commit += WT_STAT_READ(from, txn_prepare_commit); to->txn_prepare_active += WT_STAT_READ(from, txn_prepare_active); to->txn_prepare_rollback += WT_STAT_READ(from, txn_prepare_rollback); + to->txn_prepare_rollback_do_not_remove_hs_update += + WT_STAT_READ(from, txn_prepare_rollback_do_not_remove_hs_update); + to->txn_prepare_rollback_fix_hs_update_with_ckpt_reserved_txnid += + WT_STAT_READ(from, txn_prepare_rollback_fix_hs_update_with_ckpt_reserved_txnid); to->txn_query_ts += WT_STAT_READ(from, txn_query_ts); to->txn_read_race_prepare_update += WT_STAT_READ(from, txn_read_race_prepare_update); to->txn_rts += WT_STAT_READ(from, txn_rts); |