From f0a9931a26ad26c93f5fdfb10c58686f7fdcf6f3 Mon Sep 17 00:00:00 2001 From: vporyadke Date: Wed, 10 Jul 2024 11:39:51 +0300 Subject: [PATCH] fix TabletsTotal counter (#6492) --- ydb/core/mind/hive/hive_impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ydb/core/mind/hive/hive_impl.cpp b/ydb/core/mind/hive/hive_impl.cpp index 8807f3626302..0b424ef2a35a 100644 --- a/ydb/core/mind/hive/hive_impl.cpp +++ b/ydb/core/mind/hive/hive_impl.cpp @@ -2747,6 +2747,7 @@ void THive::UpdateTabletFollowersNumber(TLeaderTabletInfo& tablet, NIceDb::TNice db.Table().Key(tablet.Id, follower.Id).Delete(); follower.InitiateStop(sideEffects); tablet.Followers.erase(std::prev(itFollower.base())); + UpdateCounterTabletsTotal(-1); --followerCount; } }