Commit Graph
10 Commits
Author SHA1 Message Date
Kenneth Skovhede f77e529eb6 Merge commit '2339aeff28adba15442d0be60c56568ae642ad0b' into feature/make-backends-async 2025-02-26 15:23:48 +01:00
Kenneth Skovhede 655f5ef635 Added interuption test
This adds a test with a failed upload.

The failed upload is done in parallel, so (at least) one of the uploads succeeeds and one upload fails.

The backup then errors, but a subsequent backup continues without errors and creates a synthetic filelist.

Also refactored the DeterministicErrorBackend to not use magic strings.
And made it actually deterministic.
2025-02-20 11:00:28 +01:00
Kenneth Skovhede 0f9669b273 Final conversion to async backends
This PR is the final change, where all backends are now purely implemented with async interfaces.

The code changes here replace the LIST call with an async version. This affect all backends (and then some) but the changes are mostly mechanical rewrites of the code.

In many places, the backeds were already prepared for async output, in other some glue was needed.

To reduce the scope of this change, some backends simply report a synchronous result as an async list.
2025-02-17 16:45:51 +01:00
Kenneth SkovhedeandGitHub 9464caf622 Feature/update license 2025 (#5851)
* Fixed some minor whitespace issues

* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Kenneth Skovhede bd13ffae73 Fixed the not-so-deterministic DeterministicErrorBacked to throw the right errors. 2024-11-01 16:53:33 +01:00
Kenneth Skovhede 0dcb7ceab6 Fixed a test that was succeding for the wrong reason 2024-11-01 11:14:46 +01:00
Kenneth Skovhede a18867dcd9 Updated DeterministicErrorBackend to follow the new async IBackend interface 2024-10-29 21:28:43 +01:00
Jojo-1000 0b92f19572 Merge branch 'master' into fix-leftover-index 2024-05-11 23:37:21 +02:00
Jojo-1000 ea6c418b7b Add test case to reproduce part of #5023. 2023-10-08 22:25:42 +02:00
Jojo-1000 4c5543bcfe Add test for interrupted compact operation. 2023-10-08 22:24:39 +02:00