Skip to content

Commit 1523d35

Browse files
Merge pull request #18078 from Alek5andr-Kotov/LOGBROKER-9654c
Restore the value of counters
2 parents d636c46 + c568de5 commit 1523d35

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
@@ -1280,6 +1280,10 @@ void TPersQueue::Handle(TEvPQ::TEvPartitionCounters::TPtr& ev, const TActorConte
12801280
reservedSize += p.second.Baseline.Simple()[COUNTER_PQ_TABLET_RESERVED_BYTES_SIZE].Get();
12811281
}
12821282
Counters->Simple()[COUNTER_PQ_TABLET_RESERVED_BYTES_SIZE].Set(reservedSize);
1283+
1284+
// Features of the implementation of SimpleCounters. It is necessary to restore the value of
1285+
// indicators for transactions.
1286+
SetTxCounters();
12831287
}
12841288

12851289

0 commit comments

Comments
 (0)