From 56446d11fd415723f5e2216ce249d0e40b55ea7e Mon Sep 17 00:00:00 2001 From: Ruby Chen Date: Mon, 18 Nov 2024 20:56:50 +1100 Subject: [PATCH] SERVER-96010 Extend WiredTigerKVEngine::dump() to include cache option (#29282) GitOrigin-RevId: 0ea25d8f0c1136e2fb58403dc1bbb08d9b115af9 --- src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp index bbb3b552256..90341416677 100644 --- a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp @@ -2841,7 +2841,8 @@ std::uint64_t WiredTigerKVEngine::_getCheckpointTimestamp() const { } void WiredTigerKVEngine::dump() const { - int ret = _conn->debug_info(_conn, "cursors=true,handles=true,log=true,sessions=true,txn=true"); + int ret = _conn->debug_info( + _conn, "cache=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");