Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13243

Typo in reconcilation_during_checkpoint stat

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • WT11.3.0, 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Statistics
    • None
    • Storage Engines
    • 1
    • 2024-07-09 - Nyan Cat

      "reconcilation" should be "reconciliation" and the stat is not at the right position (not sorted alphabetically):

      diff --git a/dist/stat_data.py b/dist/stat_data.py
      index 44df40075..b82a2e196 100644
      --- a/dist/stat_data.py
      +++ b/dist/stat_data.py
      @@ -1011,6 +1011,7 @@ conn_dsrc_stats = [
           CacheStat('cache_eviction_blocked_checkpoint', 'checkpoint blocked page eviction'),
           CacheStat('cache_eviction_blocked_hazard', 'hazard pointer blocked page eviction'),
           CacheStat('cache_eviction_blocked_internal_page_split', 'internal page split blocked its eviction'),
      +    CacheStat('cache_eviction_blocked_multi_block_reconciliation_during_checkpoint', 'multi-block reconciliation blocked whilst checkpoint is running'),
           CacheStat('cache_eviction_blocked_no_progress', 'eviction gave up due to no progress being made'),
           CacheStat('cache_eviction_blocked_no_ts_checkpoint_race_1', 'eviction gave up due to detecting a disk value without a timestamp behind the last update on the chain'),
           CacheStat('cache_eviction_blocked_no_ts_checkpoint_race_2', 'eviction gave up due to detecting a tombstone without a timestamp ahead of the selected on disk update'),
      @@ -1065,7 +1066,6 @@ conn_dsrc_stats = [
           CacheStat('cache_hs_write_squash', 'history store table writes requiring squashed modifies'),
           CacheStat('cache_inmem_split', 'in-memory page splits'),
           CacheStat('cache_inmem_splittable', 'in-memory page passed criteria to be split'),
      -    CacheStat('cache_eviction_blocked_multi_block_reconcilation_during_checkpoint', 'multi-block reconciliation blocked whilst checkpoint is running'),
           CacheStat('cache_pages_prefetch', 'pages requested from the cache due to pre-fetch'),
           CacheStat('cache_pages_requested', 'pages requested from the cache'),
           CacheStat('cache_read', 'pages read into cache'),
      diff --git a/src/reconcile/rec_write.c b/src/reconcile/rec_write.c
      index 7286a943c..91c3a6995 100644
      --- a/src/reconcile/rec_write.c
      +++ b/src/reconcile/rec_write.c
      @@ -2057,7 +2057,7 @@ __rec_split_write(WT_SESSION_IMPL *session, WT_RECONCILE *r, WT_REC_CHUNK *chunk
            */
           if (!last_block && WT_BTREE_SYNCING(btree) && !WT_SESSION_BTREE_SYNC(session)) {
               WT_STAT_CONN_DSRC_INCR(
      -          session, cache_eviction_blocked_multi_block_reconcilation_during_checkpoint);
      +          session, cache_eviction_blocked_multi_block_reconciliation_during_checkpoint);
               return (__wt_set_return(session, EBUSY));
           }
      

            Assignee:
            zunyi.liu@mongodb.com Zunyi Liu
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: