4715. [bug] TreeMemMax was mis-identified as a second HeapMemMax

in the Json cache statistics. [RT #45980]

(cherry picked from commit 0a1359034d)
This commit is contained in:
Mark Andrews
2017-09-12 14:55:40 +10:00
parent 22bed621ef
commit 1feffc6fdb
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -1,3 +1,6 @@
4715. [bug] TreeMemMax was mis-identified as a second HeapMemMax
in the Json cache statistics. [RT #45980]
4714. [port] openbsd/libressl: add support for building with
--enable-openssl-hash. [RT #45982]
+1 -1
View File
@@ -1550,7 +1550,7 @@ dns_cache_renderjson(dns_cache_t *cache, json_object *cstats) {
obj = json_object_new_int64(isc_mem_maxinuse(cache->mctx));
CHECKMEM(obj);
json_object_object_add(cstats, "HeapMemMax", obj);
json_object_object_add(cstats, "TreeMemMax", obj);
obj = json_object_new_int64(isc_mem_total(cache->hmctx));
CHECKMEM(obj);