Skip to content

Commit

Permalink
chore: print downgraded region last_entry_id (GreptimeTeam#4701)
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu authored and CookiePieWw committed Sep 17, 2024
1 parent 70f64cb commit 1256689
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1256689

Please sign in to comment.