Skip to content

Commit

Permalink
chore: print downgraded region last_entry_id (#4701)
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu authored Sep 9, 2024
1 parent 208afe4 commit 8bf549c
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 8bf549c

Please sign in to comment.