objstore icon indicating copy to clipboard operation
objstore copied to clipboard

s3: add DisableMultipart option

Open fatpat opened this issue 1 year ago • 6 comments

  • [X] I added CHANGELOG entry for this change.
  • [ ] Change is not relevant to the end user.

Changes

  • s3: add DisableMultipart option to force disabling multipart all together.

Verification

Checked that the uploaded object was not upload with multipart

fatpat avatar Feb 09 '24 17:02 fatpat

anyone to look at this please ?

fatpat avatar Feb 22 '24 04:02 fatpat

I'd like a review if that's possible please :) thx

@yeya24 @saswatamcode @brancz

fatpat avatar Feb 26 '24 09:02 fatpat

Hi @fatpat, thanks for the contribution. May I know the usecase for disabling it? And maybe it is worth checking the conflicts since I just merged another pr.

yeya24 avatar Feb 27 '24 19:02 yeya24

Hi @fatpat, thanks for the contribution. May I know the usecase for disabling it? And maybe it is worth checking the conflicts since I just merged another pr.

Hello @yeya24,

I just rebase.

The motivation comes from a need in mimir that use objstore as a dependency. For the motivation I'll copy the justifcation I wrote on the mimir PR 7350:

we discovered that we could achieve better GET performances from our internal objecstorage with multipart disabled.

our use case is a high load with a high frequency (1s interval). We were trying to play with the part size while we discovered it was not possible do disable it all together (thanos-io/objstore resets part size if the object size is higher than the part size).

Moreover all S3 clients have an option to disable multi-part uploads. Not having the option in mimir looks like something was missing.

fatpat avatar Feb 28 '24 16:02 fatpat

Thanks

Thanks to you for approving.

Who can click on the merge button? 👌

fatpat avatar Mar 01 '24 09:03 fatpat

I am waiting to see if I can get another pair of eyes on this... Maybe @fpetkovski @kakkoyun @saswatamcode?

yeya24 avatar Mar 01 '24 23:03 yeya24

any news on this ? @yeya24 ?

fatpat avatar May 12 '24 04:05 fatpat

Sorry I forgot to merge it. Thanks for the reminder.

yeya24 avatar May 12 '24 05:05 yeya24

Sorry I forgot to merge it. Thanks for the reminder.

do you want me to rebase the PR ?

fatpat avatar May 12 '24 14:05 fatpat

I am not sure why this pr didn't get auto merged. Maybe rebase will help

yeya24 avatar May 12 '24 16:05 yeya24

I am not sure why this pr didn't get auto merged. Maybe rebase will help

done

fatpat avatar May 12 '24 18:05 fatpat