@@ -221,13 +221,12 @@ class TDqLocalFileSpillingService : public TActorBootstrapped<TDqLocalFileSpilli
221
221
222
222
void Bootstrap () {
223
223
Root_ = Config_.Root ;
224
+ const auto rootToRemoveOldTmp = Root_;
224
225
const auto sessionId = Config_.SpillingSessionId ;
225
226
const auto nodeId = SelfId ().NodeId ();
226
227
227
- Send (SelfId (), MakeHolder<TEvPrivate::TEvRemoveOldTmp>(Root_, nodeId, sessionId));
228
-
229
228
Root_ /= (TStringBuilder () << " node_" << nodeId << " _" << sessionId);
230
- Cerr << " Root from config: " << Config_.Root << " , actual root: " << Root_ << " \n " ;
229
+ // Cerr << "Root from config: " << Config_.Root << ", actual root: " << Root_ << "\n";
231
230
LOG_I (" Init DQ local file spilling service at " << Root_ << " , actor: " << SelfId ());
232
231
233
232
try {
@@ -241,6 +240,8 @@ class TDqLocalFileSpillingService : public TActorBootstrapped<TDqLocalFileSpilli
241
240
Become (&TDqLocalFileSpillingService::BrokenState);
242
241
return ;
243
242
}
243
+
244
+ Send (SelfId (), MakeHolder<TEvPrivate::TEvRemoveOldTmp>(Root_, nodeId, sessionId));
244
245
245
246
Become (&TDqLocalFileSpillingService::WorkState);
246
247
}
@@ -268,8 +269,6 @@ class TDqLocalFileSpillingService : public TActorBootstrapped<TDqLocalFileSpilli
268
269
}
269
270
hFunc (NMon::TEvHttpInfo, HandleBroken);
270
271
cFunc (TEvents::TEvPoison::EventType, PassAway);
271
- case TEvPrivate::TEvRemoveOldTmp::EventType:
272
- break ;
273
272
default :
274
273
Y_DEBUG_ABORT_UNLESS (false , " %s: unexpected message type 0x%08" PRIx32, __func__, ev->GetTypeRewrite ());
275
274
}
0 commit comments