liningpan opened a new issue, #205:
URL: https://github.com/apache/arrow-rs-object-store/issues/205

   **Describe the bug**
   Although the multipart writer implements AsyncWrite, it is incompatible with 
the utility 
[`tokio::io::copy`](https://docs.rs/tokio/latest/tokio/io/fn.copy.html) 
function in tokio. 
   
   The reason seems to be the copy function in tokio polls flush frequently 
(https://docs.rs/tokio/1.23.0/src/tokio/io/util/copy.rs.html#99). However, in 
this case, each call to flush will cause `put_multipart_part` request to be 
sent.
   
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to