Skip to content

Fixing S3PinotFS List API returned partial results#6002

Merged
xiangfu0 merged 1 commit intomasterfrom
fixing_s3_list_api
Sep 11, 2020
Merged

Fixing S3PinotFS List API returned partial results#6002
xiangfu0 merged 1 commit intomasterfrom
fixing_s3_list_api

Conversation

@xiangfu0
Copy link
Copy Markdown
Contributor

@xiangfu0 xiangfu0 commented Sep 11, 2020

Description

S3 API has a bounded limit(1000) for the objects returned in ListObject API, which means each call may at most returned 1000 S3 objects.

This PR will check ListObjectsV2Response and fetch next batch when necessary.

AWS API Ref: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html

@xiangfu0
Copy link
Copy Markdown
Contributor Author

We should also review other PinotFs implementations to ensure the similar issues are not presenting there.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants