Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v24.1.x] cloud_storage: add error_outcome::operation_not_supported #22537

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #22339

Add `abs_error_code::operation_not_supported_on_directory` for future
handling of errors that arise when a `Delete Blob` request is made
on a directory.

(cherry picked from commit 1c235a4)
Adds a value to the `cloud_storage::error_outcome` enum for handling cases
where the response to a request made had some flavor of `OperationNotSupported`
code.

This will be used immediately to handle a case for the `abs_client` where
`Delete Blob` requests made on directories results in a
`OperationNotSupportedOnDirectory` response.

(cherry picked from commit 457faa0)
…abs_client::delete_object()`

Previously, a `Delete Blob` request made on a directory in ABS would result
in an `error_outcome` due to the `OperationNotSupportedOnDirectory` response.
We now ignore this outcome instead of propagating an error, and issue a
warning log to `abs_log`.

(cherry picked from commit 744f322)
@vbotbuildovich vbotbuildovich added this to the v24.1.x-next milestone Jul 26, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jul 26, 2024
@WillemKauf WillemKauf merged commit 4820bb3 into redpanda-data:v24.1.x Jul 27, 2024
18 checks passed
@BenPope BenPope modified the milestones: v24.1.x-next, v24.1.14 Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants