File storage backend's atomic rename implementation is not async #369
Labels
binding/rust
Issues for the Rust crate
bug
Something isn't working
help wanted
Extra attention is needed
Environment
Delta-rs version: all
Binding: rust
Bug
What happened:
atomic_rename in file storage backend could block the tokio runtime entirely because it is not async
What you expected to happen:
perform syscall asynchronously in atomic rename.
How to reproduce it:
run atomic rename and see no other tokio tasks being able to execute until it returns.
More details:
Look into
tokio::fs
source code for inspiration on how to make syscalls async.The text was updated successfully, but these errors were encountered: