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

endpoint(qingstor/s3/fs): Modified the method of multipart upload in the copy task #330

Merged
merged 4 commits into from
Aug 16, 2023

Conversation

abyss-w
Copy link
Collaborator

@abyss-w abyss-w commented Aug 10, 2023

Originally, for large files, it was split into parts and uploaded in units of parts. But in this case, the last part is stipulated to be uploaded last, and uploads will not be complete until the last part is uploaded.
Now upload large files in units of objects, adding a configuration:

  • wokers
    • The total number of workers for multipart uploads, the default value is 100.
    • example:
type: copy

source:
  type: s3
  path: /path/to/source
  options:
    ......

destination:
  type: qingstor
  path: /path/to/destination
  options:
    ......

multipart_boundary_size: 2147483648
ignore_existing: last_modified

ignore_before: 2023-01-30 12:00:00
rate_limit: 1000

workers: 100

@abyss-w abyss-w requested a review from frostyplanet August 10, 2023 08:58
@abyss-w abyss-w requested review from owarai and removed request for frostyplanet August 11, 2023 10:30
@frostyplanet frostyplanet merged commit 78bc0f6 into master Aug 16, 2023
@frostyplanet frostyplanet deleted the optimize-mult branch August 16, 2023 09:08
@abyss-w abyss-w mentioned this pull request Aug 16, 2023
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.

3 participants