summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2023-05-06 14:37:43 +0100
committerRobert Newson <rnewson@apache.org>2023-05-06 14:37:43 +0100
commit90ca838cd3f3e2f03b2ee4d433d700a1459b0a84 (patch)
tree5c0c4b56673449dc202e7c57e812c9800d82f88a
parentf16953b26414f915b0d400f62cde1dfdd6f3c50c (diff)
downloadcouchdb-90ca838cd3f3e2f03b2ee4d433d700a1459b0a84.tar.gz
s/old/legacy
-rw-r--r--src/couch/priv/stats_descriptions.cfg4
-rw-r--r--src/couch/src/couch_file.erl2
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