Closed dai-chen closed 2 months ago
@seankao-az @noCharger I'm not sure if and where we want to backport. Feel free to add backport label as needed.
@dai-chen Any permission change we should update on public doc?
@dai-chen Any permission change we should update on public doc?
Is s3:DeleteObject"
permission sufficient? https://docs.aws.amazon.com/opensearch-service/latest/developerguide/direct-query-s3-creating.html
"Sid":"ReadAndWriteActionsForS3CheckpointBucket",
"Effect":"Allow",
"Action":[
"s3:ListMultipartUploadParts",
"s3:DeleteObject",
"s3:GetObject",
"s3:PutObject",
"s3:GetBucketLocation",
"s3:ListBucket"
],
Description
This PR adds functionality to delete the checkpoint folder associated with a Flint index during the vacuuming process. The new
FlintSparkCheckpoint
class wraps Spark'sCheckpointFileManager
and abstracts checkpoint management API.Testing
Prepare for vacuum test:
Verify checkpoint folder removed after vacuum:
Issues Resolved
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.