add metric for collecting storages (#17527) (#17675)

(cherry picked from commit 72bb271a94)

# Conflicts:
#	runtime/src/accounts_db.rs
#	runtime/src/snapshot_utils.rs

Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2021-06-03 05:34:32 +00:00
committed by GitHub
parent eb1a04af65
commit a00fbbf5ca
3 changed files with 32 additions and 6 deletions

View File

@@ -1001,6 +1001,7 @@ pub fn process_accounts_package_pre(
let (hash, lamports) = AccountsDb::calculate_accounts_hash_without_index(
&accounts_package.storages,
thread_pool,
crate::accounts_hash::HashStats::default(),
false,
)
.unwrap();