sundy-li opened a new issue, #4058: URL: https://github.com/apache/opendal/issues/4058
https://github.com/apache/opendal/blob/3c4e2f1c42b88323ed13c4eb56b95e75b98b75a9/core/src/services/fs/writer.rs#L67C8-L91 ``` fn poll_close(&mut self, cx: &mut Context<'_>) -> Poll<Result<()>> { loop { if let Some(fut) = self.fut.as_mut() { let res = ready!(fut.poll_unpin(cx)); self.fut = None; return Poll::Ready(res); } let mut f = self.f.take().expect("FsWriter must be initialized"); ... } ``` If any error happens(eg: disk full), retry layer will retry to call `poll_close` function, but the `self.f` is taken, so panic happens. -- 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]
