From 90ca838cd3f3e2f03b2ee4d433d700a1459b0a84 Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Sat, 6 May 2023 14:37:43 +0100 Subject: s/old/legacy --- src/couch/priv/stats_descriptions.cfg | 4 ++-- src/couch/src/couch_file.erl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/couch/priv/stats_descriptions.cfg b/src/couch/priv/stats_descriptions.cfg index a7ef4f928..46f08d724 100644 --- a/src/couch/priv/stats_descriptions.cfg +++ b/src/couch/priv/stats_descriptions.cfg @@ -298,9 +298,9 @@ {type, counter}, {desc, <<"number of the attempts to read beyond set limit">>} ]}. -{[couch_file, old_checksums], [ +{[couch_file, legacy_checksums], [ {type, counter}, - {desc, <<"number of old checksums found in couch_file instances">>} + {desc, <<"number of legacy checksums found in couch_file instances">>} ]}. {[mango, unindexed_queries], [ {type, counter}, diff --git a/src/couch/src/couch_file.erl b/src/couch/src/couch_file.erl index 0a9aaf49c..2f384541d 100644 --- a/src/couch/src/couch_file.erl +++ b/src/couch/src/couch_file.erl @@ -870,7 +870,7 @@ verify_checksum(Data, ExpectedChecksum) -> false -> case ExpectedChecksum == legacy_checksum(Data) of true -> - couch_stats:increment_counter([couch_file, old_checksums]), + couch_stats:increment_counter([couch_file, legacy_checksums]), true; false -> false -- cgit v1.2.1