Skip to content

Commit 40a19ec

Browse files
authored
Merge 1182440 into 1d31583
2 parents 1d31583 + 1182440 commit 40a19ec

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ydb/core/blobstorage/vdisk/balance/balancing_actor.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ namespace NBalancing {
130130
for (ui32 cnt = 0; It.Valid(); It.Next(), ++cnt) {
131131
if (cnt % 100 == 99 && TDuration::Seconds(timer.Passed()) > JOB_GRANULARITY) {
132132
// 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()));
134134
Send(SelfId(), new NActors::TEvents::TEvWakeup());
135135
return;
136136
}
@@ -197,6 +197,7 @@ namespace NBalancing {
197197
Send(MakeBlobStorageReplBrokerID(), new TEvReleaseReplToken);
198198
STLOG(PRI_INFO, BS_VDISK_BALANCING, BSVB04, VDISKP(Ctx->VCtx, "Epoch timeout"));
199199
PassAway();
200+
return;
200201
}
201202

202203
if (BatchManager.IsBatchCompleted()) {
@@ -242,8 +243,8 @@ namespace NBalancing {
242243

243244
void Handle(NActors::TEvents::TEvUndelivered::TPtr ev) {
244245
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();
247248
}
248249
}
249250

0 commit comments

Comments
 (0)