Add stat to track block cache put failures

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Block Cache
    • None
    • Storage Engines, Storage Engines - Persistence
    • 0.005
    • SE Persistence backlog
    • None

      In the code, we currently do:

          WT_IGNORE_RET(
            plh->plh_cache_put(plh, &session->iface, block_meta->page_id, 0, &args, cache_buf));
      

      And move on. We should track the number of attempts vs failures. We already track the number of attempts with:

      WT_STAT_CONN_INCR(session, block_cache_puts);
      

            Assignee:
            Etienne Petrel
            Reporter:
            Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: