Commit Graph
1925 Commits
Author SHA1 Message Date
Kenneth Skovhede 20f859bb1d Merge branch 'feature/disable_automatic_dblock_recreate'
# Conflicts:
#	Duplicati/Library/Main/Strings.cs
2018-08-07 22:37:06 +02:00
Kenneth Skovhede 3831962c82 Fixed an infinite recursion issue 2018-08-07 13:35:30 +02:00
Kenneth Skovhede 5d6c612acc The file counter crashed prematurely, because the logging context was disposed when leaving the scope.
Fixed this by awaiting the task inside the counter process, instead of returning the task.
Improved the logging system by allowing the log scopes to be created and detached from the parent.
This fixes #3305
2018-08-07 13:05:09 +02:00
Kenneth Skovhede 6255a9e0db Disabled automatic recreate of dblock files, as it rarely works.
Added an option to re-activate dblock recreation.
This partially addresses #2335
2018-08-07 11:14:28 +02:00
Kenneth Skovhede b55893ec02 Rewrote the SingleRunner class to use a single mutex instead of the overly complex bag-of-tasks method.
This simplifies things and speeds up database query queuing, at the expense of not guaranteeing that the same thread will access the database, but just guaranteeing single threaded database access.
2018-08-07 09:52:18 +02:00
Kenneth Skovhede e9d7c47602 Disabled logging block and file database access to reduce overhead in these queries.
Added an option to explicitly re-enable logging of the database queries (`--profile-all-database-queries`)
2018-08-07 09:40:43 +02:00
Kenneth SkovhedeandGitHub 5b539083a9 Merge pull request #3318 from mnaiman/fix_missingremotefiles
Fix missingremotefiles
2018-08-02 09:45:42 +02:00
Kenneth SkovhedeandGitHub 3fb9e6d2cf Merge pull request #3312 from mnaiman/debug_metadata
Debug metadata
2018-07-24 16:43:37 +02:00
Max123456 ae038a1bac fixed - purge did not commit transaction of missing files set as deleted in database
list-broken-files better logging
2018-07-09 20:38:41 +02:00
Max123456 2213420582 sets.Length was always = 0 2018-07-09 19:01:59 +02:00
Max123456 99bb089b8b log variables even in release 2018-07-06 19:44:05 +02:00
Max123456 af5e2119c0 typo 2018-07-06 19:41:25 +02:00
Max123456 a9f61d1b0d change of params order 2018-07-06 18:04:47 +02:00
Max123456 6e0af52838 better metadata warning info 2018-07-06 17:59:59 +02:00
Kenneth Hsu 590fc151cd Rename parameter so that it does not duplicate method name. 2018-07-04 15:43:37 -07:00
Kenneth Hsu 1a2ee3a5ef Simplify return type of synchronous methods.
Since these methods no longer have the async modifier, they do not need
to return a Task, and do not need to be awaited.
2018-07-04 15:35:14 -07:00
Kenneth Hsu 6c38651f19 Rename methods to clarify their synchronous behavior.
Since these methods no longer have the async modifier, we should not
include 'Async' in their names.
2018-07-04 15:35:14 -07:00
Kenneth Hsu 5e3f15ada4 Remove async modifier from methods that lack await.
A method marked async that does not use await will run synchronously.
By removing the async modifiers, we make it more explicit that these are
synchronous methods.  This also addresses some compiler warnings, and
avoids the creation of the state machine used to handle asynchronous
operations.
2018-07-04 15:35:09 -07:00
Kenneth Skovhede becf9f7307 Merge branch 'feature/fix-vss-on-drive' 2018-06-30 19:14:36 +02:00
Kenneth Skovhede eed758c479 Merge branch 'feature/fix-autodetect-blocksize' 2018-06-30 19:12:50 +02:00
Kenneth SkovhedeandGitHub c274c3bf6c Merge pull request #3302 from mnaiman/hyper-v_check
default vss excluded writer
2018-06-30 19:03:48 +02:00
Kenneth Skovhede 9bfcab73bc Added some future work 2018-06-30 18:48:20 +02:00
Kenneth Skovhede 355ef920ea Fixed the code to allow reading various parameters from the manifest when restoring the database.
This change ensures that the update happens, even when creating a partial database as the GUI does.
This fixes #2323
2018-06-30 17:28:23 +02:00
Max 795b5c34dc Main 2018-06-30 01:18:59 +02:00
Max e2e1ddc151 upstream 2018-06-29 17:26:53 +02:00
Max c9c8c71ac8 default vss excluded writer 2018-06-29 17:08:57 +02:00
Kenneth Skovhede 166ef2976b Merge branch 'feature/cleanup_temp_files'
# Conflicts:
#	Duplicati/Library/Main/Operation/Common/BackendHandler.cs
2018-06-28 12:17:22 +02:00
Kenneth Skovhede 8ac99e83b7 Merge branch 'master' into feature/fix_path_storage2 2018-06-28 10:51:11 +02:00
Kenneth SkovhedeandGitHub 6e2d4a9071 Merge pull request #3266 from verhoek/refactoring/tempdir_var
Clean up tempdir environment vars
2018-06-28 10:06:28 +02:00
Kenneth SkovhedeandGitHub b855e4c686 Merge pull request #3282 from verhoek/fix/last_succesful_run
Fix last succesful run
2018-06-26 12:08:07 +02:00
Max e4997f1efc upstream 2018-06-24 12:49:51 +02:00
Kenneth Hsu 54c4f9224d Allow tasks to complete on any thread when context is irrelevant.
When the code following the await can be executed on any thread, it's
recommended to use ConfigureAwait(false) to avoid unnecessary context
switching and potential deadlocks.
2018-06-21 19:28:27 -07:00
Kenneth Skovhede be6093b7a6 Fixed unecrypted temporary files stored for upload were not removed. 2018-06-20 10:11:56 +02:00
verhoek fcc5fe1a54 Fixed typo. 2018-06-20 09:20:45 +02:00
Kenneth Skovhede 1d430f71d0 Fixed not reporting added/modified file size.
This fixes #3209
2018-06-19 12:23:32 +02:00
Kenneth Skovhede 30c9c35398 No longer sending progress reports when handling metadata 2018-06-16 23:01:34 +02:00
Kenneth SkovhedeandGitHub db1bf986be Merge pull request #3267 from verhoek/fix/subprocess_readkey
Fix - Console.ReadKey for encryption passphrase
2018-06-15 09:10:54 +02:00
Kenneth SkovhedeandGitHub a09fb26070 Merge pull request #3262 from snamds/symlink_restore
Windows symlink restore problems
2018-06-15 09:06:34 +02:00
fgonzalez 4e4f4cb08c Parent folder for directories 2018-06-14 15:59:33 +02:00
Kenneth Skovhede 69cc889eb2 Fixed creating the USN table on a clean database 2018-06-14 10:56:15 +02:00
Kenneth SkovhedeandGitHub 48097eb0ca Merge pull request #3265 from verhoek/fix/permissions
Fix : improved error handling for insufficient permissions on source folders
2018-06-14 10:26:02 +02:00
Kenneth Skovhede 60c498c6e2 Fixed the project file to now have duplicates 2018-06-14 10:14:46 +02:00
Kenneth Skovhede cbc18970d5 Re-applied the path-storage fix as the merge failed somehow 2018-06-14 10:12:24 +02:00
Kenneth SkovhedeandGitHub bbe8358ccb Merge pull request #3225 from tygill/fix/improve-repair
Adds a check for BlocksetIDs that don't have any corresponding BlocksetEntrys to the broken fileset check.
2018-06-14 09:20:59 +02:00
Kenneth Skovhede 729baf76e6 Fixed registering the newly created index volume after upload has completed 2018-06-13 21:43:06 +02:00
verhoek 07ae90f325 Simplified plus made defaults explicit. 2018-06-12 09:41:40 +02:00
Kenneth Skovhede 68c36edbf7 Added a new unittest option that disables auto-fixes to make sure we do not mask errors by auto-fixing them during unittests 2018-06-12 09:31:39 +02:00
Kenneth Skovhede 4b3389f4b6 Fix the missing block references prior to looking for missing block info 2018-06-12 08:29:55 +02:00
Kenneth Skovhede 7081af9785 Added protection against missing or defect files when attempting to restore 2018-06-11 14:42:13 +02:00
verhoek 784480a340 Removed tempdir environment variable.
Removed unused optional parameter for tempdir in LoadConnection for
LoadConnection and hence avoiding restoring never changed SQLITE_TMPDIR
vars.
2018-06-11 14:40:57 +02:00