-
Notifications
You must be signed in to change notification settings - Fork 72
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
Some backend (i.e. opendal:*, rclone) implementations are incompatible with async features (i.e. Webdav) which result in runtime crashes #1181
Comments
To keep you updated, I could reproduce the issue using |
Same problem using sftp |
I renamed the issue to be more generic. Problem insights:To give some insights the problem is the following:
Remediation, fixing:I see 2 main steps to advance on that issue:
|
Using
This happens because |
See the above PR for the step 1 fix, once |
…tibility (#355) Add `getters` to warn about `async_incompatible` backends. Using the type system or fixing all async compatibility issue is big and structural work. To avoid runtime crash for our users I suggest using this getter as a temporary fix. tracking issue: rustic-rs/rustic#1181 (see for more details) --------- Co-authored-by: simonsan <[email protected]>
…tibility and error out (#1355) Use `getters` to early exit webdav when using `async_incompatible` backends. Using the type system or fixing all async compatibility issue is big and structural work. To avoid runtime crash for our users I suggest using this getter as a temporary fix. tracking issue: #1181 (see for more details) > As far as I could tell, `webdav` feature was the only one spawning a `runtime` in `rustic` and using it. ### Before merging this one: - [x] rustic_core (core and backend) must be updated to a release that includes rustic-rs/rustic_core#355. --------- Co-authored-by: simonsan <[email protected]>
Actually the current webdav problem can be solved by just changing the implementation of I made a POC implementation which needs quite some polish but already works. |
That's a good workaround! @aawsome |
…#1361) Solves the webdav problem reported in #1181 --------- Signed-off-by: simonsan <[email protected]> Co-authored-by: simonsan <[email protected]>
…1365) (after reverting #1361) solves the webdav problem reported in #1181 Co-authored-by: simonsan <[email protected]>
When browsing to a specific snapshot the application crashes (using opendal S3)
The text was updated successfully, but these errors were encountered: