Add uniform start/stop log lines for background hash verification (#33441)

Add uniform start/stop log lines for background hash verification
This commit is contained in:
steviez 2023-09-28 15:13:51 +02:00 committed by GitHub
parent fa968da32e
commit 5b9a167c51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -7254,9 +7254,7 @@ impl Bank {
Builder::new()
.name("solBgHashVerify".into())
.spawn(move || {
info!(
"running initial verification accounts hash calculation in background"
);
info!("Initial background accounts hash verification has started");
let result = accounts_.verify_accounts_hash_and_lamports(
slot,
cap,
@ -7276,6 +7274,7 @@ impl Bank {
.accounts_db
.verify_accounts_hash_in_bg
.background_finished();
info!("Initial background accounts hash verification has stopped");
result
})
.unwrap()