Skip to content

feat(core): enable presign delete#7386

Open
anandubey wants to merge 1 commit intoapache:mainfrom
anandubey:feat/enable-presign-delete
Open

feat(core): enable presign delete#7386
anandubey wants to merge 1 commit intoapache:mainfrom
anandubey:feat/enable-presign-delete

Conversation

@anandubey
Copy link
Copy Markdown

Which issue does this PR close?

The presign delete feature was implemented for feature request - #5427 by the PR - #5647, this PR is just enabling this feature.

Rationale for this change

Enable Presign delete feature

Are there any user-facing changes?

Yes, we used to generate PUT and DELETE presign URLs by the custom logic written by us, and we have recently moved to use opendal for this feature, but while testing we found although the feature is implemented, it was not enabled.

@anandubey anandubey requested a review from Xuanwo as a code owner April 14, 2026 08:16
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. releases-note/feat The PR implements a new feature or has a title that begins with "feat" labels Apr 14, 2026
}

pub async fn s3_delete_object(&self, path: &str, args: &OpDelete) -> Result<Response<Buffer>> {
pub async fn s3_delete_object_request(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pub async fn s3_delete_object_request(
pub fn s3_delete_object_request(


pub async fn s3_delete_object(&self, path: &str, args: &OpDelete) -> Result<Response<Buffer>> {
pub async fn s3_delete_object_request(
&self,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The easiest impl is to mimic what we do for head_object

  • A function to get request: pub fn get_delete_request()
  • A function to async delete: pub async fn delete()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/feat The PR implements a new feature or has a title that begins with "feat" size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants