Add BufUploader to implement same feature upon WriteMultipart
like BufWriter
#5834
Labels
enhancement
Any new improvement worthy of a entry in the changelog
object-store
Object Store Interface
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
During implementing #5766, I find a missing piece of our current API set:
BufWriter
adaptively usesput
orput_multipart
, depending on the volume of data written. However, there is no native implementation forPutPayload
. This forces users to either useBufWriter
, which requires an extra copy, or manually implement the adaptive logic.Describe the solution you'd like
I plan to introduce
BufUploader
that fill this gap.Describe alternatives you've considered
None.
Additional context
The PR has been sunmitted at #5835.
The text was updated successfully, but these errors were encountered: