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

Fixing S3PinotFS List API returned partial results #6002

Merged
merged 1 commit into from
Sep 11, 2020

Conversation

xiangfu0
Copy link
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
Contributor Author

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

@xiangfu0 xiangfu0 merged commit 11fd62b into master Sep 11, 2020
@xiangfu0 xiangfu0 deleted the fixing_s3_list_api branch September 11, 2020 09:37
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.

None yet

2 participants