Skip to content

Commit 483e9ee

Browse files
authored
fix TabletsTotal counter (#6492)
1 parent be2302d commit 483e9ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ydb/core/mind/hive/hive_impl.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -2749,6 +2749,7 @@ void THive::UpdateTabletFollowersNumber(TLeaderTabletInfo& tablet, NIceDb::TNice
27492749
db.Table<Schema::Metrics>().Key(tablet.Id, follower.Id).Delete();
27502750
follower.InitiateStop(sideEffects);
27512751
tablet.Followers.erase(std::prev(itFollower.base()));
2752+
UpdateCounterTabletsTotal(-1);
27522753
--followerCount;
27532754
}
27542755
}

0 commit comments

Comments
 (0)