0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 00:17:37 +01:00

SERVER-96010 Extend WiredTigerKVEngine::dump() to include cache option (#29282)

GitOrigin-RevId: 0ea25d8f0c1136e2fb58403dc1bbb08d9b115af9
This commit is contained in:
Ruby Chen 2024-11-18 20:56:50 +11:00 committed by MongoDB Bot
parent 4624cb4fe6
commit 56446d11fd

View File

@ -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");