Kenneth Skovhede and GitHub
544a841299
Merge branch 'master' into feature/cpulimit
2024-11-05 10:09:56 +01:00
Kenneth Skovhede and GitHub
3e3258b081
Merge pull request #5615 from duplicati/feature/fix-issue-5038
...
Feature/fix issue 5038
2024-11-05 10:07:00 +01:00
Kenneth Skovhede and GitHub
e959542536
Merge pull request #5623 from duplicati/feature/fix-compact-disruption-test
...
Fix issues with extra blocks and files being recorded after an interrupted `Compact()`
2024-11-04 16:59:23 +01:00
Kenneth Skovhede and GitHub
ababf2f84e
Merge pull request #5610 from duplicati/feature/fix-leftover-index
...
Feature/fix leftover index
2024-11-04 16:50:05 +01:00
Kenneth Skovhede
dedee8fd35
Hand-picked the recreate fixes from #4982 .
...
This fixes that the recreate will move unused blocks into the `DeletedBlock` table after the database has been recreated.
Due to this, the disruption test can now be verified.
2024-11-01 15:56:14 +01:00
Kenneth Skovhede
db517a300b
Implemented a fix for compaction issues that could cause inconsistent views of the remote storage.
2024-11-01 14:50:26 +01:00
Carl Johnsen
11465b8754
Added CPU throttling logic to DataBlockProcessor
2024-11-01 13:32:40 +01:00
Kenneth Skovhede
30a3410180
Changed strategy to check if block is known in a previous blockset.
...
If this fileset is the first containing the block in a blockset, we add it to the index file.
2024-10-31 15:30:25 +01:00
Kenneth Skovhede
734659f3f7
Implemented a fix for 5038
2024-10-31 13:42:07 +01:00
Kenneth Skovhede and GitHub
61a04d34ab
Merge pull request #5604 from duplicati/feature/exclude-sqlite-journal-file
...
Added detection of the SQLite journal file for the active database.
2024-10-31 12:05:15 +01:00
Kenneth Skovhede
aae4feadb3
Updated logic for handling repair with index files that are missing block files.
2024-10-29 21:30:06 +01:00
Kenneth Skovhede
e9c256c7f2
Merge remote-tracking branch 'origin/master' into feature/fix-leftover-index
2024-10-29 16:40:06 +01:00
Kenneth Skovhede
372b06cfee
Moved the transaction abort up so it happens before the connection is disposed.
...
This fixes #5585
2024-10-28 21:30:18 +01:00
Kenneth Skovhede
300752652f
Added detection of the SQLite journal file for the active database.
...
This fixes #5603
2024-10-28 09:00:40 +01:00
Carl Johnsen
20aea95007
Fixed inconsistent variable naming
2024-10-21 17:50:18 +02:00
Carl Johnsen
ce64b7e549
Sped up preliminary work in DoCompact.
...
The first optimization was to add guards around the queries in case the second collection is empty (which is was when the slow path was found).
The second optimization is to use a HashSet for the second collection, as this speeds up lookup, compared to using two List of string.
2024-10-21 14:27:18 +02:00
Kenneth Skovhede and GitHub
366016ec2d
Merge pull request #5578 from marceloduplicati/feature/unix-file-lock
...
Proposed change to open locked files on linux
2024-10-15 11:08:11 +02:00
Kenneth Skovhede
91ea81f537
Added commandline option to toggle locks
2024-10-08 09:35:00 +02:00
Kenneth Skovhede
6ab27cb870
Merge remote-tracking branch 'origin/master' into feature/backend-async-get
2024-10-03 13:22:36 +02:00
Kenneth Skovhede
3c144f5481
Merge remote-tracking branch 'origin/master' into feature/remove-thread-culture-dependence
2024-10-02 14:56:11 +02:00
Kenneth Skovhede
586c08522e
Implemented async method for Test, CreateFolder and Quota in all backends.
...
Still missing the List and DNSHostnames.
The AsyncRequest class is also preventing many backends from fully upgrading.
2024-10-01 09:30:02 +02:00
Kenneth Skovhede and GitHub
735795f020
Merge pull request #5571 from duplicati/feature/remove-piped-download
...
Removed piped download as it was slower than not piping.
2024-09-29 22:01:21 +02:00
Kenneth Skovhede
e3e3d1305f
Implemented async version of Get for all backends.
2024-09-29 22:00:57 +02:00
Kenneth Skovhede
b280432476
Changed logic to use HashCalculatingStream instead of CryptoStream, which should fix #4094 .
...
Removed VolumeHashFactory as it dit not support using another hashing algorithm for volumes.
2024-09-28 11:13:06 +02:00
Kenneth Skovhede
f49359eaf3
Removed use of Environment.OSVersion which is now deprecated.
...
Fallback to getting Windows version with `cmd /v ver`, which should be supported way back to DOS v6.
2024-09-18 16:02:01 +02:00
Kenneth Skovhede
f3e2a0a902
Avoid setting Thread.CurrentCulture
...
Avoids setting deprecated `Thread.CurrentCulture` and `Thread.CurrentUICulture`, using `CultureInfo.CurrentCulture` instead.
Fixed a few legacy places where incorrect string compares were used.
2024-09-18 09:24:55 +02:00
Kenneth Skovhede
375f1875d1
Merge remote-tracking branch 'origin/master' into feature/auto-repair-locked-db-fix-v2
2024-09-10 13:54:28 +02:00
Kenneth Skovhede
9729b1442b
Made the pre-backup verify method static to reduce possible side-effects
2024-09-10 12:11:05 +02:00
Kenneth Skovhede
757dbcade2
Implemented different take on PreBackupVerify
2024-09-10 11:38:38 +02:00
Kenneth Skovhede
7d43687090
Reverted to materializing the blocklist as we cannot check the hash before, and we need to throw the exception before we insert any entries.
2024-09-09 17:13:59 +02:00
Kenneth Skovhede
ff6757877f
Fixing the inconsistency check on repair.
...
Update the SQL to also group on size (just in case).
Renamed the normal read method to signal that it is unverified.
Made the verified reader use enumeration state machine to avoid materializing the list.
`var`-ified some of the test code.
2024-09-09 15:27:37 +02:00
Kenneth Skovhede
17d9b89fbb
Merge branch 'master' into fix-repair-index-consistency
...
# Conflicts:
# Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs
2024-09-09 11:49:34 +02:00
Kenneth Skovhede
8743543707
Maded the log-ids distinct to simplify error tracking
2024-07-30 09:06:54 +02:00
Suguru Hirahara
8e85c10754
Set arguments for strings
2024-07-29 11:30:43 -04:00
Suguru Hirahara
ae57dee0f0
Remove redundant space characters from *.cs and *.html
2024-07-26 00:10:31 -04:00
Kenneth Skovhede and GitHub
bfc3d61bc2
Merge branch 'master' into fix-leftover-index
2024-07-19 13:53:06 +02:00
Kenneth Skovhede
627c270025
Merge remote-tracking branch 'origin/master' into feature/remove-httpserver
2024-07-01 22:42:20 +02:00
Kenneth Skovhede and GitHub
17e2266a69
Merge pull request #5231 from duplicati/feature/increase-default-test-coverage
...
Increase the default test coverage to be 0.1%
2024-06-25 09:58:50 +02:00
Kenneth Skovhede
4294ee3611
Removed last traces of the custom operating system detection
2024-06-11 21:30:33 +02:00
Kenneth Skovhede
f4dee8a305
Increase the default test coverage to be 0.1%
2024-06-10 11:49:43 +02:00
Kenneth Skovhede
f9db217af0
Changed logic for local blocks to be opt-in
2024-06-10 11:37:58 +02:00
Jojo-1000
917e2cd0c4
Remove obsolete custom platform detection.
2024-05-30 02:14:05 +02:00
Jojo-1000
930f1c8bd3
Fix most unsupported platform warnings.
2024-05-30 01:50:02 +02:00
Kenneth Skovhede
c890e824ee
Implemented test for reproducing issue #5196
...
Fixed issue by changing order options are written and verified.
Some whitespace changes due to renaming a method
2024-05-21 15:48:29 +02:00
Kenneth Skovhede and GitHub
6a134ce04e
Merge pull request #4989 from Jojo-1000/improve-source-file-picker
...
Improve source file picker
2024-05-13 16:54:27 +02:00
Jojo-1000
796be8ce29
Merge branch 'master' into improve-source-file-picker
2024-05-11 23:53:57 +02:00
Jojo-1000
50808c866b
Merge branch 'master' into quota-disable
2024-05-11 23:46:19 +02:00
Jojo-1000
0b92f19572
Merge branch 'master' into fix-leftover-index
2024-05-11 23:37:21 +02:00
Kenneth Skovhede
a0c0cbf3d5
Removed mentions of Mono in code, and fixed some entry paths pointing to the dll instead of the exe
2024-04-15 13:20:39 +02:00
Kenneth Skovhede
115e887802
Implemented new updater logic that supports multi-arch distributions.
2024-03-15 14:18:56 +01:00