tustvold commented on issue #6934:
URL: https://github.com/apache/arrow-rs/issues/6934#issuecomment-2569318636

   > Nothing fails but the files are corrupted because the parts are in the 
wrong order.
   
   That sounds to me like exactly the same issue, I'm not familiar with how you 
are integrating the multipart upload, but my suspicion is whatever is sinking 
to it is accidentally deferring the put_part to a spawned future, or something 
similar. 
   
   Correct
   ```
   tokio::spawn(upload.put_part(x));
   ```
   
   Incorrect
   ```
   tokio::spawn(async move {
       upload.put_part(x);
   })
   ```


-- 
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