From 58a50f34dea0f1579abab15f9228855f5878b116 Mon Sep 17 00:00:00 2001 From: Arya Date: Fri, 18 Oct 2024 18:20:08 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Marek --- zebra-state/src/service/finalized_state/zebra_db.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zebra-state/src/service/finalized_state/zebra_db.rs b/zebra-state/src/service/finalized_state/zebra_db.rs index 6550b90f8..6d6015308 100644 --- a/zebra-state/src/service/finalized_state/zebra_db.rs +++ b/zebra-state/src/service/finalized_state/zebra_db.rs @@ -150,7 +150,8 @@ impl ZebraDb { && newer_running_version.major == (older_disk_version.major + 1) && RESTORABLE_DB_VERSIONS.contains(&newer_running_version.major) => { - warn!("upgrading database format to the next major version"); + info!("upgrading database format to the next major version"); + // use the latest possible minor version to trigger all remaining format upgrades for the older major version let db = new_db(Version::new(older_disk_version.major, u64::MAX, u64::MAX)); let finalized_tip = db.finalized_tip_height();