bug: FuturesAsyncWriter
does not properly close/shutdown the writer
#4926
Labels
documentation
Improvements or additions to documentation
Describe the bug
FuturesAsyncWriter
does not properly close the underlying writer, causing the write to silently fail. This is contrary to the documentation "FuturesAsyncWriters
are automatically closed when they go out of scope."1.Steps to Reproduce
Minimal Reproducible Example
Cargo.toml
main.rs
Expected Behavior
FuturesAsyncWriters
should work according to the documentation.Additional Context
Note that explicitly dropping the writer (i.e.,
drop(writer);
) does not fix the problem, close or shutdown has to be called.No response
Are you willing to submit a PR to fix this bug?
Footnotes
https://github.com/apache/opendal/blob/f859bcea093678503b3150a0690eda7fae5f8061/core/src/types/write/writer.rs#L189 ↩
The text was updated successfully, but these errors were encountered: