thanos icon indicating copy to clipboard operation
thanos copied to clipboard

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

Open bwplotka opened this issue 6 years ago • 15 comments

Discussion for Reference https://github.com/improbable-eng/thanos/pull/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 avatar Dec 13 '18 14:12 bwplotka

Or better: https://github.com/thanos-io/thanos/issues/443

bwplotka avatar Oct 15 '19 11:10 bwplotka

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 avatar Oct 24 '19 10:10 bwplotka

We have a solid use case for this issue to be fixed: https://github.com/observatorium/thanos-replicate/issues/22

Help wanted!

bwplotka avatar Oct 29 '19 14:10 bwplotka

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

daixiang0 avatar Dec 23 '19 05:12 daixiang0

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[bot] avatar Jan 22 '20 06:01 stale[bot]

This issue is still valid, right?

yeya24 avatar Jan 24 '20 01:01 yeya24

yup :+1:

bwplotka avatar Jan 24 '20 09:01 bwplotka

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?

jojohappy avatar Feb 21 '20 09:02 jojohappy

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[bot] avatar Mar 22 '20 10:03 stale[bot]

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[bot] avatar Apr 21 '20 10:04 stale[bot]

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

stale[bot] avatar Apr 28 '20 10:04 stale[bot]

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[bot] avatar May 30 '20 17:05 stale[bot]

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

stale[bot] avatar Jun 06 '20 17:06 stale[bot]

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.

xiaozongyang avatar Nov 27 '20 16:11 xiaozongyang

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[bot] avatar Sep 21 '22 02:09 stale[bot]

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

bdharsan04 avatar Jul 03 '24 21:07 bdharsan04