Skip to content

Commit

Permalink
chore: add log for converting region to follower
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu committed Dec 24, 2024
1 parent c623404 commit 3b8f08f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mito2/src/region.rs
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ impl ManifestContext {
pub(crate) fn set_role(&self, next_role: RegionRole, region_id: RegionId) {
match next_role {
RegionRole::Follower => {
info!("Convert region {} to follower", region_id);
self.state.store(RegionRoleState::Follower);
}
RegionRole::Leader => {
Expand Down

0 comments on commit 3b8f08f

Please sign in to comment.