Skip to content

Commit

Permalink
Merge pull request #7630 from Lazin/fix/7615-gcp-delete-object
Browse files Browse the repository at this point in the history
cloud_storage: Remove assertion from delete_object
  • Loading branch information
VadimPlh committed Dec 5, 2022
2 parents 8f86dee + ccefedb commit f118b5b
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 f118b5b

Please sign in to comment.