diff options
-rw-r--r-- | src/couch/priv/stats_descriptions.cfg | 4 | ||||
-rw-r--r-- | 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 |