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

feat(s3stream): add aws s3 rangeRead implementation for object storage #1416

Merged
merged 3 commits into from
Jun 14, 2024

Conversation

warr99
Copy link
Contributor

@warr99 warr99 commented Jun 14, 2024

  • The logic of MergeRead and acquireReadPermit has been extracted to AbstractObjectStorage.java
  • Most of the logic remains consistent with before, except that the String path in ReadTask has been replaced with S3ObjectMetadata s3ObjectMetadata.
  • AwsObjectStorage.java is responsible for performing the rangeRead operations from S3, doRangeRead.

boolean readWriteIsolate,
boolean checkS3ApiMode) {
this.bucket = bucket;
this.tagging = tagging(tagging);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Move bucket, tagging to AwsObjectStorage

@superhx superhx enabled auto-merge (squash) June 14, 2024 07:25
@superhx superhx merged commit 9b3b12a into main Jun 14, 2024
7 checks passed
@superhx superhx deleted the feat/aws-object-storage-range-read branch June 14, 2024 07:25
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