hindriix commented on issue #810:
URL: 
https://github.com/apache/arrow-rs-object-store/issues/810#issuecomment-5079924915

   Opened #816 to fix this. Root cause: when the future backing 
`BufWriterState::Prepare`/`Flush` resolves to an error, the completed future 
was left in `self.state` and re-polled on the next call, panicking with "`async 
fn` resumed after completion". The PR adds a terminal `Errored` state so 
subsequent `write`/`flush`/`shutdown`/`put` calls return an error instead of 
panicking. Thanks for the clear minimal repro — I adapted it into a regression 
test.


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