Include cache_top in WiredTigerKVEngine's debug_info call

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - Server Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      WT-18400 added a cache_top category to WT_CONNECTION::debug_info, which reports the tables holding the most cache (by update bytes, dirty leaf bytes, resident bytes, and recent read/eviction activity). 

      We need to add cache_top=true to the debug_info config string in WiredTigerKVEngine::dump() to capture the new information:

      void WiredTigerKVEngine::dump() const {
          int ret = _conn->debug_info(_conn,
              "cache=true,cache_top=true,cursors=true,handles=true,log=true,sessions=true,txn=true");
          auto status = wtRCToStatus(ret, nullptr, "WiredTigerKVEngine::dump()");
          if (status.isOK()) {
              LOGV2(6117700, "WiredTigerKVEngine::dump() completed successfully");
          } else {
              LOGV2(6117701, "WiredTigerKVEngine::dump() failed", "error"_attr = status);
          }
      } 

            Assignee:
            Unassigned
            Reporter:
            Alana Huang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: