Skip to content

Commit fbdd8b5

Browse files
committed
more fixes
1 parent 3313a1e commit fbdd8b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ydb/core/tablet/private/aggregated_counters.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class TAggregatedHistogramCounters {
140140
TVector<TCountersByTabletIdMap> CountersByTabletId; // each index is map from tablet to counter value
141141
};
142142

143-
class TAggregatedLabeledCounters {
143+
class TAggregatedLabeledCounters : public TThrRefBase {
144144
public:
145145
//
146146
TAggregatedLabeledCounters(ui32 count, const ui8* aggrFunc, const char * const * names, const ui8* types, const TString& groupNames);

ydb/core/tablet/private/labeled_db_counters.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace NKikimr::NPrivate {
1313

1414
class TPQCounters : public ILabeledCounters {
1515
protected:
16-
TConcurrentRWHashMap<TString, TAutoPtr<TAggregatedLabeledCounters>, 256> LabeledCountersByGroup;
16+
TConcurrentRWHashMap<TString, TIntrusivePtr<TAggregatedLabeledCounters>, 256> LabeledCountersByGroup;
1717
NMonitoring::TDynamicCounterPtr Group;
1818

1919
public:

0 commit comments

Comments
 (0)