chore: print downgraded region last_entry_id (#4701)

This commit is contained in:
Weny Xu
2024-09-09 17:14:55 +09:00
committed by GitHub
parent 208afe402b
commit 8bf549c2fa

View File

@@ -160,6 +160,11 @@ impl DowngradeLeaderRegion {
"Trying to downgrade the region {} on Datanode {}, but region doesn't exist!",
region_id, leader
);
} else {
info!(
"Region {} leader is downgraded, last_entry_id: {:?}",
region_id, last_entry_id
);
}
if let Some(last_entry_id) = last_entry_id {