Skip to content
New issue

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

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

Already on GitHub? # to your account

new feature: s3 delete objects doesn't support delete with version #5329

Closed
1 task
Xuanwo opened this issue Nov 16, 2024 · 0 comments · Fixed by #5349
Closed
1 task

new feature: s3 delete objects doesn't support delete with version #5329

Xuanwo opened this issue Nov 16, 2024 · 0 comments · Fixed by #5349
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Xuanwo
Copy link
Member

Xuanwo commented Nov 16, 2024

Feature Description

Allow opendal to remove versioned objects in batch.

Problem and Solution

OpenDAL's batch delete doesn't support delete a versioned object yet.

https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjects.html

Additional Context

let content = quick_xml::se::to_string(&DeleteObjectsRequest {
object: paths
.into_iter()
.map(|path| DeleteObjectsRequestObject {
key: build_abs_path(&self.root, &path),
})
.collect(),
})
.map_err(new_xml_deserialize_error)?;

Are you willing to contribute to the development of this feature?

  • Yes, I am willing to contribute to the development of this feature.
@Xuanwo Xuanwo added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Nov 16, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant