Unverified Commit 81e2d727 authored by Wang Yuan's avatar Wang Yuan Committed by GitHub
Browse files

Fix wrong COW memory in log (#8917)

Always 0 MB of memory used by copy-on-write, introduced in #8645.
parent bcc519fa
......@@ -93,7 +93,7 @@ void sendChildInfoGeneric(childInfoType info_type, size_t keys, double progress,
if (cow) {
serverLog((info_type == CHILD_INFO_TYPE_CURRENT_INFO) ? LL_VERBOSE : LL_NOTICE,
"%s: %zu MB of memory used by copy-on-write",
pname, data.cow / (1024 * 1024));
pname, cow / (1024 * 1024));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment