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

s3/aliyunOSS: Support multipart upload without pre known object size. #678

Open
bwplotka opened this issue Dec 13, 2018 · 16 comments
Open

Comments

@bwplotka
Copy link
Member

Discussion for Reference #617

Acceptance Critiria:

  • Minio S3 provider will choose when to use multi part properly even with just Upload(ctx context.Context, name string, r io.Reader) interface.
@bwplotka
Copy link
Member Author

Or better: #443

@bwplotka bwplotka changed the title s3: Support multipart upload without pre known object size. s3/aliyunOSS: Support multipart upload without pre known object size. Oct 24, 2019
@bwplotka
Copy link
Member Author

The same story is for new provider AliYun. We should either implement multipart on our own or extend objstore interface: https://github.com/thanos-io/thanos/pull/1573/files#r336389276

@bwplotka
Copy link
Member Author

We have a solid use case for this issue to be fixed: observatorium/thanos-replicate#22

Help wanted!

@daixiang0
Copy link
Member

@bwplotka could move thanos-replicate under thanos-io to increase its exposure and make it look more important for thaons?

@stale
Copy link

stale bot commented Jan 22, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 22, 2020
@yeya24
Copy link
Contributor

yeya24 commented Jan 24, 2020

This issue is still valid, right?

@stale stale bot removed the stale label Jan 24, 2020
@bwplotka
Copy link
Member Author

yup 👍

@bwplotka bwplotka removed the pinned label Jan 28, 2020
@jojohappy
Copy link
Member

jojohappy commented Feb 21, 2020

Hi, @bwplotka @adrien-f
I see the minio-go has been fixed the bug to upload large file without the size of object. I try to upload a 5.7GB file to my S3 with minio-go client v6.0.49, it works. Maybe we can remove the changes by #617.

For aliyun oss, we can use the resumable upload without known object size.
cc @wujinhu

What do you think?

@stale
Copy link

stale bot commented Mar 22, 2020

This issue/PR has been automatically marked as stale because it has not had recent activity. Please comment on status otherwise the issue will be closed in a week. Thank you for your contributions.

@stale
Copy link

stale bot commented Apr 21, 2020

This issue/PR has been automatically marked as stale because it has not had recent activity. Please comment on status otherwise the issue will be closed in a week. Thank you for your contributions.

@stale
Copy link

stale bot commented Apr 28, 2020

Closing for now as promised, let us know if you need this to be reopened! 🤗

@stale stale bot closed this as completed Apr 28, 2020
@yeya24 yeya24 reopened this Apr 30, 2020
@stale stale bot removed the stale label Apr 30, 2020
@stale
Copy link

stale bot commented May 30, 2020

Hello 👋 Looks like there was no activity on this issue for last 30 days.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity for next week, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label May 30, 2020
@stale
Copy link

stale bot commented Jun 6, 2020

Closing for now as promised, let us know if you need this to be reopened! 🤗

@stale stale bot closed this as completed Jun 6, 2020
@xiaozongyang
Copy link

Hi @wujinhu, it seems that this issue hasn't been fixed yet. Do we have any plans for that? Is there some work that I can do for solving it?

We use aliyun OSS in our production environment as Thanos bucket store. But we failed to do downsampling jobs because we always get annoying errors unsupported type of io.Reader.

And I find there is a todo comment referring to this issue in line 72 in the source file oss.go.

@bwplotka bwplotka reopened this Jun 29, 2022
@stale stale bot removed the stale label Jun 29, 2022
@stale
Copy link

stale bot commented Sep 21, 2022

Hello 👋 Looks like there was no activity on this issue for the last two months.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity in the next two weeks, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Sep 21, 2022
@bdharsan04
Copy link

@yeya24 i would like to look into this issue if it's still open

@stale stale bot removed the stale label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants