Commit Graph
12398 Commits
Author SHA1 Message Date
Carl Johnsen 4edbbda7f9 Cleaned up RestoreVolumeCache test and send an abort request on timeout (deadlock) 2025-08-10 20:56:05 +02:00
Carl Johnsen 0fd3e515da Ensured that an actively read volume in the volumemanager cannot be disposed 2025-08-10 20:55:02 +02:00
Carl Johnsen dfc92c71b1 Added more rendevouz points to allow for aborting during deadlocks 2025-08-10 20:54:13 +02:00
Carl Johnsen fa1c109ad3 Burst in Restore.FileProcessor has to be at least 1 2025-08-10 20:50:50 +02:00
Carl Johnsen 5129958f4f Changed the restore channels to use a constructor to avoid static variables 2025-08-10 20:50:02 +02:00
Carl Johnsen f85727bf3a Added explicit debug printing 2025-08-10 20:34:26 +02:00
Carl Johnsen fd94ae9f08 Added additional explicit logging 2025-08-10 07:41:29 +02:00
Carl Johnsen 9e7c37fb33 Fixed timeout logic in restore volume cache tests 2025-08-10 07:41:02 +02:00
Carl Johnsen 537ee9c4cb Final eviction should always happen, and some caching is always needed in the new restore flow 2025-08-10 07:39:22 +02:00
Carl Johnsen 4c9f78f839 Added first try at a test of the restore volume cache 2025-08-08 15:45:52 +02:00
Carl Johnsen 309ae18782 Removed whitespace 2025-08-08 15:45:35 +02:00
Carl Johnsen e8f7244ac2 A log message was a warning, when it shouldn't be. 2025-08-08 15:45:17 +02:00
Carl Johnsen 8087823ee5 Moved internal VolumeManager functionality to functions 2025-08-08 15:45:00 +02:00
Carl Johnsen f54ccbcca6 Made VolumeManager nullable 2025-08-08 15:44:23 +02:00
Carl Johnsen 9d9dd95003 Made some of the debug logging more differentiable 2025-08-08 14:11:21 +02:00
Carl Johnsen 149c22a9b8 Added the new timer in the volume consumer to the profiling output. 2025-08-08 14:10:04 +02:00
Carl Johnsen 2ad6a9e730 Reverted ReadFromEither back to two channels alongside an explicit flushing of the ack channel to prevent deadlock. 2025-08-08 14:08:41 +02:00
Carl Johnsen dc4d8fa587 Added the option to control the size of the volume cache during restore 2025-08-08 12:44:59 +02:00
Carl Johnsen 8dfe328ea8 Updated the ReadFromEither workaround to include another channel, and to be prioritized based on the order of the channels. 2025-08-08 12:42:50 +02:00
Carl Johnsen 0f950b2102 Updated BlockManager.VolumeConsumer and VolumeManager to ack the decompression requests.
Also made VolumeManager keep track of which volumes are safe to dispose.
2025-08-08 12:41:17 +02:00
Carl Johnsen 44c8793eaa Changed the cache evict flag in BlockRequest to be an enum, as there are now more than 2 types of block request 2025-08-08 12:38:08 +02:00
Carl Johnsen 3c012331e5 Removed whitespace 2025-08-08 12:36:33 +02:00
Carl-Johannes JohnsenandGitHub 13ab4df846 Merge pull request #6457 from carljohnsen/bugfix/rsync-reinstantiate-backend
Bugfix/Remote synchronization tool reinstantiate backend
2025-08-08 06:00:37 +02:00
Kenneth SkovhedeandGitHub 2d80f8217d Merge pull request #6469 from duplicati/feature/ensure-no-pooling-on-dbs
Added explicit disabling of pooling to avoid locked files on Windows
2025-08-07 23:13:04 +02:00
Kenneth SkovhedeandGitHub c419a23a38 Merge pull request #6470 from duplicati/feature/update-localizations-2025
Feature/update localizations 2025
2025-08-07 23:12:02 +02:00
Carl-Johannes JohnsenandGitHub a5c8dce21c Merge pull request #6459 from carljohnsen/bugfix/remotevolume-hash-null
Bugfix/RemoteVolume hash null
2025-08-07 21:08:54 +02:00
Carl Johnsen 4460ed45a6 Due to the error counter being reset on every operation, capturing the error has to be slightly modified. 2025-08-07 21:08:00 +02:00
Carl Johnsen bdb1ec0ed8 Made the backoff wait timer reset on every operation. 2025-08-07 21:06:48 +02:00
Carl Johnsen 8e30612071 Changed LightWeightBackendManager.ListAsync to return a List rather than an IAsyncEnumerable to allow it to retry the operation on failure. 2025-08-07 21:05:35 +02:00
Carl Johnsen a4183f189b Made AutoCreateFolder also use the retry logic. 2025-08-07 21:03:05 +02:00
Carl Johnsen 69ff37a684 Moved the retry counting to the Retry method, so that it's counted per operation, rather per overall runtime 2025-08-07 21:02:39 +02:00
Kenneth Skovhede 1bce29d121 Updated localizations 2025-08-07 15:58:58 +02:00
Kenneth Skovhede 8c2ee1c9fb Extracted strings 2025-08-07 15:57:30 +02:00
Kenneth Skovhede c4cd6181d7 Added explicit disabling of pooling to avoid locked files on Windows 2025-08-07 15:26:45 +02:00
Kenneth SkovhedeandGitHub c5d90962f3 Merge pull request #6433 from duplicati/feature/vacuum-and-bugreport-tests
Added tests for the Vacuum and bugreport operations.
2025-08-07 14:24:31 +02:00
Kenneth SkovhedeandGitHub 2d775bedc0 Merge pull request #6467 from duplicati/feature/fix-thread-resource-leak
Prevent thread leak in TrayIcon
2025-08-07 14:12:47 +02:00
Kenneth SkovhedeandGitHub 239697c94a Merge pull request #6468 from duplicati/feature/update-error-message
Changed wording of the repair error suggestion
2025-08-07 11:53:12 +02:00
Kenneth Skovhede fe6f77c086 Changed wording of the repair error suggestion 2025-08-07 11:52:47 +02:00
Kenneth Skovhede 3ae93f0102 Prevent thread leak in TrayIcon
This PR changes the termination signal to a `CancellationToken` instead of a `ManualResetEvent` as the former works better with async code.

With this change there is no longer a thread being captured during each long poll operation.

This fixes #6452
2025-08-07 11:50:01 +02:00
Kenneth SkovhedeandGitHub 26b2737d6f Merge pull request #6466 from duplicati/feature/fix-codeql
Fixed CodeQL compile issue + a warning
2025-08-07 11:35:00 +02:00
Kenneth SkovhedeandGitHub ddbea1a362 Merge branch 'master' into feature/vacuum-and-bugreport-tests 2025-08-07 11:34:26 +02:00
Kenneth SkovhedeandGitHub cd242e57d0 Merge pull request #6464 from duplicati/feature/stabilize-test
Stabilize compact tests.
2025-08-07 11:24:52 +02:00
Kenneth Skovhede d94ca804ea Fixed CodeQL compile issue + a warning 2025-08-07 11:24:10 +02:00
Kenneth SkovhedeandGitHub 81a54350b0 Merge pull request #6465 from duplicati/feature/update-issue-templates
Update issue templates
2025-08-07 11:11:33 +02:00
Kenneth Skovhede 090e9dabc1 Update issue templates
Updated the format to correct YAML.
Change to use the Type feature.
2025-08-07 11:11:03 +02:00
Kenneth SkovhedeandGitHub 35173f28e3 Merge pull request #6436 from duplicati/feature/fix-datafolder-helpstring
Fixed datafolder help showing the env var name
2025-08-07 10:29:45 +02:00
Kenneth SkovhedeandGitHub d8951288a8 Merge pull request #6453 from duplicati/feature/update-docker-images
Update Docker images
2025-08-07 10:29:18 +02:00
Kenneth SkovhedeandGitHub 3edb7b493b Merge pull request #6454 from duplicati/feature/fix-quotes
Fixed some quotes and a TODO
2025-08-07 10:26:56 +02:00
Kenneth Skovhede 3f04e8beaa Stabilize compact tests.
Made the test inconclusive if the compact operation was not performed, which happens randomly based on the data layout.
2025-08-07 10:26:15 +02:00
Kenneth SkovhedeandGitHub 25105df05c Merge pull request #6462 from duplicati/feature/fix-warnings-nullable
Fixed compile warnings
2025-08-07 10:21:42 +02:00