Skip to content

Commit

Permalink
Get rid of TWilson::Tablet
Browse files Browse the repository at this point in the history
  • Loading branch information
domwst committed Dec 16, 2023
1 parent bace7f9 commit a4a2b03
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ydb/core/keyvalue/keyvalue_intermediate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ TIntermediate::TIntermediate(TActorId respondTo, TActorId keyValueActorId, ui64
, CreatedAtGeneration(channelGeneration)
, CreatedAtStep(channelStep)
, IsReplied(false)
, Span(TWilson::Tablet, std::move(traceId), "KeyValue.Intermediate", NWilson::EFlags::AUTO_END)
, Span(TWilsonTablet::Tablet, std::move(traceId), "KeyValue.Intermediate", NWilson::EFlags::AUTO_END)
{
Stat.IntermediateCreatedAt = TAppData::TimeProvider->Now();
Stat.RequestType = requestType;
Expand Down
2 changes: 1 addition & 1 deletion ydb/core/keyvalue/keyvalue_storage_read_request.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ class TKeyValueStorageReadRequest : public TActorBootstrapped<TKeyValueStorageRe
: IntermediateResult(std::move(intermediate))
, TabletInfo(const_cast<TTabletStorageInfo*>(tabletInfo))
, TabletGeneration(tabletGeneration)
, Span(NKikimr::TWilson::Tablet, IntermediateResult->Span.GetTraceId(), "KeyValue.StorageReadRequest")
, Span(TWilsonTablet::Tablet, IntermediateResult->Span.GetTraceId(), "KeyValue.StorageReadRequest")
{}
};

Expand Down
2 changes: 1 addition & 1 deletion ydb/core/keyvalue/keyvalue_storage_request.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class TKeyValueStorageRequest : public TActorBootstrapped<TKeyValueStorageReques
, TabletGeneration(tabletGeneration)
, IntermediateResults(std::move(intermediate))
, TabletInfo(const_cast<TTabletStorageInfo*>(tabletInfo))
, Span(NKikimr::TWilson::Tablet, IntermediateResults->Span.GetTraceId(), "KeyValue.StorageRequest")
, Span(TWilsonTablet::Tablet, IntermediateResults->Span.GetTraceId(), "KeyValue.StorageRequest")
{
IntermediateResults->Stat.KeyvalueStorageRequestSentAt = TAppData::TimeProvider->Now();
}
Expand Down
1 change: 0 additions & 1 deletion ydb/library/wilson_ids/wilson.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ namespace NKikimr {

struct TWilson {
enum {
Tablet = 7,
BlobStorage = 8, // DS proxy and lower levels
DsProxyInternals = 9,
VDiskTopLevel = 12,
Expand Down

0 comments on commit a4a2b03

Please sign in to comment.