s/old/legacy
diff --git a/src/couch/priv/stats_descriptions.cfg b/src/couch/priv/stats_descriptions.cfg
index a7ef4f9..46f08d7 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 0a9aaf4..2f38454 100644
--- a/src/couch/src/couch_file.erl
+++ b/src/couch/src/couch_file.erl
@@ -870,7 +870,7 @@
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