Skip to content

Commit 3d7e5a0

Browse files
Merge pull request #18075 from Alek5andr-Kotov/LOGBROKER-9654b
Restore the value of counters
2 parents e26ec2c + b8d32bf commit 3d7e5a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ydb/core/persqueue/pq_impl.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,6 +1261,10 @@ void TPersQueue::Handle(TEvPQ::TEvPartitionCounters::TPtr& ev, const TActorConte
12611261
reservedSize += p.second.Baseline.Simple()[COUNTER_PQ_TABLET_RESERVED_BYTES_SIZE].Get();
12621262
}
12631263
Counters->Simple()[COUNTER_PQ_TABLET_RESERVED_BYTES_SIZE].Set(reservedSize);
1264+
1265+
// Features of the implementation of SimpleCounters. It is necessary to restore the value of
1266+
// indicators for transactions.
1267+
SetTxCounters();
12641268
}
12651269

12661270

0 commit comments

Comments
 (0)