From 3b8f08fe5a0f1af88e1a884ba83978bd4d7449cc Mon Sep 17 00:00:00 2001 From: WenyXu Date: Tue, 24 Dec 2024 07:08:00 +0000 Subject: [PATCH] chore: add log for converting region to follower --- src/mito2/src/region.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mito2/src/region.rs b/src/mito2/src/region.rs index 41fb239a5846..93df81510455 100644 --- a/src/mito2/src/region.rs +++ b/src/mito2/src/region.rs @@ -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 => {