Skip to content

Commit

Permalink
fix TabletsTotal counter (#6492) (#6717)
Browse files Browse the repository at this point in the history
  • Loading branch information
vporyadke authored Jul 17, 2024
1 parent 3aec0fb commit df15684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ydb/core/mind/hive/hive_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2747,6 +2747,7 @@ void THive::UpdateTabletFollowersNumber(TLeaderTabletInfo& tablet, NIceDb::TNice
db.Table<Schema::Metrics>().Key(tablet.Id, follower.Id).Delete();
follower.InitiateStop(sideEffects);
tablet.Followers.erase(std::prev(itFollower.base()));
UpdateCounterTabletsTotal(-1);
--followerCount;
}
}
Expand Down

0 comments on commit df15684

Please sign in to comment.