Skip to content

Commit a01e65f

Browse files
authored
Refactor cache miss in DynamicNameserver to use one pipe (#15161)
1 parent 18c0658 commit a01e65f

15 files changed

+638
-257
lines changed

ydb/core/base/tablet_pipe.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,18 @@ namespace NKikimr {
141141
, VersionInfo(std::move(versionInfo))
142142
{}
143143

144+
TString ToString() const override {
145+
return TStringBuilder() << ToStringHeader() << " {"
146+
<< " TabletId: " << TabletId
147+
<< " Status: " << Status
148+
<< " ServerId: " << ServerId
149+
<< " Leader: " << Leader
150+
<< " Dead: " << Dead
151+
<< " Generation: " << Generation
152+
<< " VersionInfo: " << VersionInfo
153+
<< " }";
154+
}
155+
144156
const ui64 TabletId;
145157
const NKikimrProto::EReplyStatus Status;
146158
const TActorId ClientId;
@@ -173,6 +185,14 @@ namespace NKikimr {
173185
, ServerId(serverId)
174186
{}
175187

188+
TString ToString() const override {
189+
return TStringBuilder() << ToStringHeader() << " {"
190+
<< " TabletId: " << TabletId
191+
<< " ClientId: " << ClientId
192+
<< " ServerId: " << ServerId
193+
<< " }";
194+
}
195+
176196
const ui64 TabletId;
177197
const TActorId ClientId;
178198
const TActorId ServerId;

0 commit comments

Comments
 (0)