This is an automated email from the ASF dual-hosted git repository. hulk pushed a commit to branch 2.5 in repository https://gitbox.apache.org/repos/asf/kvrocks.git
commit 66088c05c3c183204ba71d3dd5277247bcacefc7 Author: Binbin <[email protected]> AuthorDate: Wed Jul 19 03:52:24 2023 +0800 Fix INFO used_memory_rss_human field name (#1595) The name should be used_memory_rss_human according to the context and Redis documentation. --- src/server/server.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/server.cc b/src/server/server.cc index a5604496..41fb406d 100644 --- a/src/server/server.cc +++ b/src/server/server.cc @@ -881,7 +881,7 @@ void Server::GetMemoryInfo(std::string *info) { std::ostringstream string_stream; string_stream << "# Memory\r\n"; string_stream << "used_memory_rss:" << rss << "\r\n"; - string_stream << "used_memory_human:" << used_memory_rss_human << "\r\n"; + string_stream << "used_memory_rss_human:" << used_memory_rss_human << "\r\n"; string_stream << "used_memory_lua:" << memory_lua << "\r\n"; string_stream << "used_memory_lua_human:" << used_memory_lua_human << "\r\n"; string_stream << "used_memory_startup:" << memory_startup_use_.load(std::memory_order_relaxed) << "\r\n";
