@@ -130,7 +130,7 @@ namespace NBalancing {
130
130
for (ui32 cnt = 0 ; It.Valid (); It.Next (), ++cnt) {
131
131
if (cnt % 100 == 99 && TDuration::Seconds (timer.Passed ()) > JOB_GRANULARITY) {
132
132
// actor should not block the thread for a long time, so we should yield
133
- // STLOG(PRI_DEBUG, BS_VDISK_BALANCING, BSVB04, VDISKP(Ctx->VCtx, "Collect keys"), (collected, cnt), (passed, timer.Passed()));
133
+ STLOG (PRI_DEBUG, BS_VDISK_BALANCING, BSVB04, VDISKP (Ctx->VCtx , " Collect keys" ), (collected, cnt), (passed, timer.Passed ()));
134
134
Send (SelfId (), new NActors::TEvents::TEvWakeup ());
135
135
return ;
136
136
}
@@ -197,6 +197,7 @@ namespace NBalancing {
197
197
Send (MakeBlobStorageReplBrokerID (), new TEvReleaseReplToken);
198
198
STLOG (PRI_INFO, BS_VDISK_BALANCING, BSVB04, VDISKP (Ctx->VCtx , " Epoch timeout" ));
199
199
PassAway ();
200
+ return ;
200
201
}
201
202
202
203
if (BatchManager.IsBatchCompleted ()) {
@@ -242,8 +243,8 @@ namespace NBalancing {
242
243
243
244
void Handle (NActors::TEvents::TEvUndelivered::TPtr ev) {
244
245
if (ev.Get ()->Type == TEvReplToken::EventType) {
245
- STLOG (PRI_WARN , BS_VDISK_BALANCING, BSVB06, VDISKP (Ctx->VCtx , " Ask repl token msg not delivered" ), (SelfId, SelfId ()), (PDiskId, Ctx->VDiskCfg ->BaseInfo .PDiskId ));
246
- ScheduleJobQuant ();
246
+ STLOG (PRI_ERROR , BS_VDISK_BALANCING, BSVB06, VDISKP (Ctx->VCtx , " Ask repl token msg not delivered" ), (SelfId, SelfId ()), (PDiskId, Ctx->VDiskCfg ->BaseInfo .PDiskId ));
247
+ ContinueBalancing ();
247
248
}
248
249
}
249
250
0 commit comments