Skip to content

Commit

Permalink
Merge pull request #7632 from vbotbuildovich/backport-7615-v22.3.x-980
Browse files Browse the repository at this point in the history
[v22.3.x] cloud_storage: Remove assertion from delete_object
  • Loading branch information
Lazin committed Dec 5, 2022
2 parents 5dbbc96 + b43af05 commit 28b2443
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/v/cloud_storage/remote.cc
Original file line number Diff line number Diff line change
Expand Up @@ -679,11 +679,12 @@ ss::future<upload_result> remote::delete_object(
result = upload_result::failed;
break;
case error_outcome::notfound:
vassert(
false,
"Unexpected NoSuchKey error response from DeleteObject {}",
vlog(
ctxlog.info,
"Unexpected NoSuchKey error response from DeleteObject {} will "
"be ignored",
path);
break;
co_return upload_result::success;
}
}
if (!result) {
Expand Down

0 comments on commit 28b2443

Please sign in to comment.