Skip to content

Commit 41f47f8

Browse files
authored
init scalar field of TPartitionFamily (#5345)
1 parent 6eb2d23 commit 41f47f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/core/persqueue/read_balancer__balancing.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ struct TPartitionFamily {
8686
std::unordered_set<ui32> LockedPartitions;
8787

8888
// The number of active partitions in the family.
89-
size_t ActivePartitionCount;
89+
size_t ActivePartitionCount = 0;
9090
// The number of inactive partitions in the family.
91-
size_t InactivePartitionCount;
91+
size_t InactivePartitionCount = 0;
9292

9393
// Reading sessions that have a list of partitions to read and these sessions can read this family
9494
std::unordered_map<TActorId, TSession*> SpecialSessions;

0 commit comments

Comments
 (0)