Skip to content

Commit f0a9931

Browse files
committed
fix TabletsTotal counter (ydb-platform#6492)
1 parent 35253da commit f0a9931

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
@@ -2747,6 +2747,7 @@ void THive::UpdateTabletFollowersNumber(TLeaderTabletInfo& tablet, NIceDb::TNice
27472747
db.Table<Schema::Metrics>().Key(tablet.Id, follower.Id).Delete();
27482748
follower.InitiateStop(sideEffects);
27492749
tablet.Followers.erase(std::prev(itFollower.base()));
2750+
UpdateCounterTabletsTotal(-1);
27502751
--followerCount;
27512752
}
27522753
}

0 commit comments

Comments
 (0)