Report the right checkpoint update number while setting prune_timestamp

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • WT12.0.0
    • Affects Version/s: None
    • Component/s: Layered Tables
    • None
    • Storage Engines - Foundations
    • None
    • 1

      Since we report last_ckpt_inuse after we update it, we always report the new value twice

       

      __wt_atomic_store_uint64_relaxed(&btree->prune_timestamp, prune_timestamp);
      layered_table->last_ckpt_inuse = ckpt_inuse;
      
      
      __wt_verbose_level(session, WT_VERB_LAYERED, WT_VERBOSE_DEBUG_5,
      "GC %s: update prune timestamp from %"PRIu64" to %"PRIu64
      " and checkpoint in use from %"PRId64" to %"PRId64,
      layered_table->iface.name, btree_prune_timestamp, prune_timestamp,
      layered_table->last_ckpt_inuse, ckpt_inuse); 

            Assignee:
            Ivan Kochin
            Reporter:
            Ivan Kochin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: