@@ -48,7 +48,8 @@ namespace NKikimr {
4848 << " Marker# BSVSLR01" );
4949
5050 Span.EndOk ();
51- SendVDiskResponse (ctx, Recipient, Result.release (), RecipientCookie, " " , nullptr );
51+ const auto & vCtx = hull.GetHullCtx ()->VCtx ;
52+ SendVDiskResponse (ctx, Recipient, Result.release (), RecipientCookie, vCtx->VDiskLogPrefix , vCtx->OOSMonGroup );
5253 }
5354
5455 NWilson::TTraceId TLoggedRecVPut::GetTraceId () const {
@@ -124,7 +125,8 @@ namespace NKikimr {
124125 << " TEvVPut: realtime# false result# " << msg->Result ->ToString ()
125126 << " Marker# BSVSLR03" );
126127 Span.EndOk ();
127- SendVDiskResponse (ctx, msg->OrigClient , msg->Result .release (), msg->OrigCookie , " " , nullptr ); // TODO
128+ const auto & vCtx = hull.GetHullCtx ()->VCtx ;
129+ SendVDiskResponse (ctx, msg->OrigClient , msg->Result .release (), msg->OrigCookie , vCtx->VDiskLogPrefix , vCtx->OOSMonGroup );
128130 }
129131
130132 // /////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -149,16 +151,17 @@ namespace NKikimr {
149151 {}
150152
151153 void TLoggedRecVBlock::Replay (THull &hull, const TActorContext &ctx) {
152- auto replySender = [&ctx] (const TActorId &id, ui64 cookie, NWilson::TTraceId, IEventBase *msg) {
153- SendVDiskResponse (ctx, id, msg, cookie, " " , nullptr ); // TODO
154+ const auto & vCtx = hull.GetHullCtx ()->VCtx ;
155+ auto replySender = [&ctx, &vCtx] (const TActorId &id, ui64 cookie, NWilson::TTraceId, IEventBase *msg) {
156+ SendVDiskResponse (ctx, id, msg, cookie, vCtx->VDiskLogPrefix , vCtx->OOSMonGroup );
154157 };
155158
156159 hull.AddBlockCmd (ctx, TabletId, Gen, IssuerGuid, Seg.Point (), replySender);
157160
158161 LOG_DEBUG_S (ctx, NKikimrServices::BS_VDISK_BLOCK, hull.GetHullCtx ()->VCtx ->VDiskLogPrefix
159162 << " TEvVBlock: result# " << Result->ToString ()
160163 << " Marker# BSVSLR04" );
161- SendVDiskResponse (ctx, Recipient, Result.release (), RecipientCookie, " " , nullptr ); // TODO
164+ SendVDiskResponse (ctx, Recipient, Result.release (), RecipientCookie, vCtx-> VDiskLogPrefix , vCtx-> OOSMonGroup );
162165 }
163166
164167 // /////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -185,7 +188,8 @@ namespace NKikimr {
185188 << " TEvVCollectGarbage: result# " << Result->ToString ()
186189 << " Marker# BSVSLR05" );
187190 Span.EndOk ();
188- SendVDiskResponse (ctx, OrigEv->Sender , Result.release (), OrigEv->Cookie , " " , nullptr ); // TODO
191+ const auto & vCtx = hull.GetHullCtx ()->VCtx ;
192+ SendVDiskResponse (ctx, OrigEv->Sender , Result.release (), OrigEv->Cookie , vCtx->VDiskLogPrefix , vCtx->OOSMonGroup );
189193 }
190194
191195 // /////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -203,17 +207,18 @@ namespace NKikimr {
203207 {}
204208
205209 void TLoggedRecLocalSyncData::Replay (THull &hull, const TActorContext &ctx) {
206- auto replySender = [&ctx] (const TActorId &id, ui64 cookie, NWilson::TTraceId, IEventBase *msg) {
207- SendVDiskResponse (ctx, id, msg, cookie, " " , nullptr ); // TODO
210+ const auto & vCtx = hull.GetHullCtx ()->VCtx ;
211+ auto replySender = [&ctx, &vCtx] (const TActorId &id, ui64 cookie, NWilson::TTraceId, IEventBase *msg) {
212+ SendVDiskResponse (ctx, id, msg, cookie, vCtx->VDiskLogPrefix , vCtx->OOSMonGroup );
208213 };
209214
210215#ifdef UNPACK_LOCALSYNCDATA
211216 hull.AddSyncDataCmd (ctx, std::move (OrigEv->Get ()->Extracted ), Seg, replySender);
212217#else
213218 hull.AddSyncDataCmd (ctx, OrigEv->Get ()->Data , Seg, replySender);
214219#endif
215- Span.EndOk ();
216- SendVDiskResponse (ctx, OrigEv->Sender , Result.release (), OrigEv->Cookie , " " , nullptr ); // TODO
220+ Span.EndOk ();
221+ SendVDiskResponse (ctx, OrigEv->Sender , Result.release (), OrigEv->Cookie , vCtx-> VDiskLogPrefix , vCtx-> OOSMonGroup );
217222 }
218223
219224 // /////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -233,7 +238,8 @@ namespace NKikimr {
233238
234239 void TLoggedRecAnubisOsirisPut::Replay (THull &hull, const TActorContext &ctx) {
235240 hull.AddAnubisOsirisLogoBlob (ctx, Insert.Id , Insert.Ingress , Seg);
236- SendVDiskResponse (ctx, OrigEv->Sender , Result.release (), OrigEv->Cookie , " " , nullptr ); // TODO
241+ const auto & vCtx = hull.GetHullCtx ()->VCtx ;
242+ SendVDiskResponse (ctx, OrigEv->Sender , Result.release (), OrigEv->Cookie , vCtx->VDiskLogPrefix , vCtx->OOSMonGroup );
237243 }
238244
239245 // /////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -270,8 +276,8 @@ namespace NKikimr {
270276 {}
271277
272278 void TLoggedRecDelLogoBlobDataSyncLog::Replay (THull &hull, const TActorContext &ctx) {
273- Y_UNUSED ( hull) ;
274- SendVDiskResponse (ctx, Recipient, Result.release (), RecipientCookie, " " , nullptr ); // TODO
279+ const auto & vCtx = hull. GetHullCtx ()-> VCtx ;
280+ SendVDiskResponse (ctx, Recipient, Result.release (), RecipientCookie, vCtx-> VDiskLogPrefix , vCtx-> OOSMonGroup );
275281 }
276282
277283 // /////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -287,7 +293,8 @@ namespace NKikimr {
287293
288294 void TLoggedRecAddBulkSst::Replay (THull &hull, const TActorContext &ctx) {
289295 hull.AddBulkSst (ctx, OrigEv->Get ()->Essence , Seg);
290- SendVDiskResponse (ctx, OrigEv->Sender , new TEvAddBulkSstResult, OrigEv->Cookie , " " , nullptr ); // TODO
296+ const auto & vCtx = hull.GetHullCtx ()->VCtx ;
297+ SendVDiskResponse (ctx, OrigEv->Sender , new TEvAddBulkSstResult, OrigEv->Cookie , vCtx->VDiskLogPrefix , vCtx->OOSMonGroup );
291298 }
292299
293300 // /////////////////////////////////////////////////////////////////////////////////////////////////////
0 commit comments