Apply suggestions from code review

Co-authored-by: Marek <mail@marek.onl>
This commit is contained in:
Arya 2024-10-18 18:20:08 -04:00 committed by GitHub
parent 51cc63d5fb
commit 58a50f34de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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();