Skip to content

Commit c8aaf40

Browse files
committed
COUNTER_READ_ITERATORS_WAITING
1 parent f8a2b97 commit c8aaf40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ydb/core/protos/counters_datashard.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ enum ESimpleCounters {
2121
COUNTER_MVCC_STATE_CHANGE_WAIT_IMMEDIATE_TX_IN_FLY = 11 [(CounterOpts) = {Name: "MvccStateChangeWaitImmediateTxInFly"}];
2222
COUNTER_MVCC_ENABLED = 12 [(CounterOpts) = {Name: "MvccEnabled"}];
2323
COUNTER_CHANGE_QUEUE_SIZE = 13 [(CounterOpts) = {Name: "ChangeQueueSize"}];
24-
COUNTER_READ_ITERATORS_QUEUE_SIZE = 14 [(CounterOpts) = {Name: "ReadIteratorsQueueSize"}];
24+
COUNTER_READ_ITERATORS_WAITING = 14 [(CounterOpts) = {Name: "ReadIteratorsWaiting"}];
2525
COUNTER_READ_ITERATORS_COUNT = 15 [(CounterOpts) = {Name: "ReadIteratorsCount"}];
2626
COUNTER_READ_ITERATORS_EXHAUSTED_COUNT = 16 [(CounterOpts) = {Name: "ReadIteratorsExhaustedCount"}];
2727
COUNTER_CHANGE_RECORDS_REQUESTED = 17 [(CounterOpts) = {Name: "ChangeRecordsRequested"}];

ydb/core/tx/datashard/datashard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2869,7 +2869,7 @@ bool TDataShard::CheckDataTxRejectAndReply(const NEvents::TDataEvents::TEvWrite:
28692869
}
28702870
void TDataShard::UpdateProposeQueueSize() const {
28712871
SetCounter(COUNTER_TOTAL_PROPOSE_QUEUE_SIZE, MediatorStateWaitingMsgs.size() + ProposeQueue.Size() + DelayedProposeQueue.size() + Pipeline.WaitingTxs());
2872-
SetCounter(COUNTER_READ_ITERATORS_QUEUE_SIZE, Pipeline.WaitingReadIterators());
2872+
SetCounter(COUNTER_READ_ITERATORS_WAITING, Pipeline.WaitingReadIterators());
28732873
SetCounter(COUNTER_MEADIATOR_STATE_QUEUE_SIZE, MediatorStateWaitingMsgs.size());
28742874
SetCounter(COUNTER_WAITING_TX_QUEUE_SIZE, Pipeline.WaitingTxs());
28752875
SetCounter(COUNTER_PROPOSE_QUEUE_SIZE, ProposeQueue.Size());

0 commit comments

Comments
 (0)