-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs::Writer::poll_close
can't be retried multiple times when error occurs
#4058
Comments
oio::Write::poll_close
can't be retried multiple times when error occurs fs::Writer::poll_close
can't be retried multiple times when error occurs
Also affects |
@Xuanwo It seems to be running fine during the retry. Do you see any issues with this? |
Apologies for not updating you on the progress. The main issue is that |
My link above does this, can I create a new PR for this? |
Welcome! Thanks in advance. |
Yes, I'm working with the tokio team on this tokio-rs/tokio#6330 |
https://github.com/apache/opendal/blob/3c4e2f1c42b88323ed13c4eb56b95e75b98b75a9/core/src/services/fs/writer.rs#L67C8-L91
If any error happens(eg: disk full), retry layer will retry to call
poll_close
function, but theself.f
is taken, so panic happens.The text was updated successfully, but these errors were encountered: