Skip to content

Commit

Permalink
issue-2542: fix test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vladstepanyuk committed Jan 23, 2025
1 parent d8aadda commit 008ded4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions cloud/blockstore/libs/storage/service/service_actor_destroy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,16 @@ void TDestroyVolumeActor::HandleMarkDiskForCleanupResponse(

// disk is broken and will be removed by DR at some point
if (error.GetCode() == E_NOT_FOUND) {
LOG_INFO(ctx, TBlockStoreComponents::SERVICE,
"volume %s not found in registry", DiskId.Quote().data());
} else if (HasError(error)) {
LOG_INFO(
ctx,
TBlockStoreComponents::SERVICE,
"volume %s not found in registry",
DiskId.Quote().data());
DestroyVolume(ctx);
return;
}

if (HasError(error)) {
LOG_ERROR(ctx, TBlockStoreComponents::SERVICE,
"Volume %s: unable to notify DR about disk destruction: %s",
DiskId.Quote().data(),
Expand Down

0 comments on commit 008ded4

Please sign in to comment.