From 666ce9b3befbf5e8bab7bc827d375d018a96adad Mon Sep 17 00:00:00 2001 From: steviez Date: Thu, 5 Oct 2023 13:34:04 -0500 Subject: [PATCH] Fix blockstore-purge delete_files_in_range_us metric (#33512) This field was being filled with the wrong value --- ledger/src/blockstore/blockstore_purge.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledger/src/blockstore/blockstore_purge.rs b/ledger/src/blockstore/blockstore_purge.rs index be57b4c6cf8671..f7e8aab3db3ad7 100644 --- a/ledger/src/blockstore/blockstore_purge.rs +++ b/ledger/src/blockstore/blockstore_purge.rs @@ -50,7 +50,7 @@ impl Blockstore { ("write_batch_us", purge_stats.write_batch as i64, i64), ( "delete_files_in_range_us", - purge_stats.write_batch as i64, + purge_stats.delete_files_in_range as i64, i64 ) );