Kenneth Hsu
19303614f0
Remove unnecessary call to ToString.
2020-02-18 17:50:26 -08:00
Kenneth Hsu
7e86486f59
Fix logs for custom retention policy to show backup times.
...
When we modified the code in revision
68ffd86594 (pull request #4018 ) to
consider collections of IListResultFilesets instead of DateTimes, we
neglected to preserve the backup times in the logs.
This fixes #4109 .
2020-02-18 17:50:13 -08:00
Kenneth Skovhede and GitHub
386374a586
Merge pull request #4105 from warwickmm/fix_sqlite_interop_path
...
Fix path to SQLite.Interop.dll
2020-02-18 12:18:57 +01:00
Kenneth Hsu
0a91bcf662
Fix path to SQLite.Interop.dll.
...
This assembly lives in the win32 and win64 subdirectories, and not in
the base path.
This fixes #4093 .
2020-02-17 09:34:39 -08:00
warwickmm and GitHub
44f619b725
Merge pull request #4085 from drwtsn32x/improve-usn-snapshot-fails
...
Improve USN and Snapshot error handling
2020-02-06 19:36:42 -08:00
Rod Savard
235f94c96f
change to use custom exception class
2020-02-06 06:34:49 -08:00
Kenneth Skovhede and GitHub
cb7f4483cd
Merge pull request #4065 from warwickmm/move_create_fileset_file
...
Move CreateFilesetFile method to FilesetVolumeWriter class
2020-02-06 08:06:28 +01:00
Kenneth Skovhede and GitHub
e1bab67d90
Merge pull request #4089 from warwickmm/ovh_keystone_v3
...
Update OVH backend URL to Keystone API v3
2020-02-06 08:05:56 +01:00
Kenneth Skovhede and GitHub
dfbfeda42c
Merge pull request #4068 from warwickmm/remove_unused_options_members
...
Remove unused Options members
2020-02-06 08:05:20 +01:00
Kenneth Skovhede and GitHub
c0213b0bdd
Merge pull request #4069 from warwickmm/remove_unused_backend_manager_members
...
Remove unused BackendManager members
2020-02-06 08:03:50 +01:00
Kenneth Hsu
4acbdb700b
Update OVH backend URL to Keystone API v3.
...
OVH is updating the Keystone API from v2 to v3:
https://ovh.slgnt.eu/optiext/optiextension.dll?ID=dStdoW+qPGF+x+s02CEdQ_I66qw4G_Z_rqsNrzqCkOZiWQwdnmWGsZerWXZIQoWQpcyyq3Su3addd_
This fixes #4087 .
2020-02-05 20:41:31 -08:00
warwickmm and GitHub
011c15ca7a
Merge pull request #4084 from drwtsn32x/clean-up-options-parsing
...
Clean up parsing of snapshot-policy and usn-policy options
2020-02-05 19:21:18 -08:00
Rod Savard
63ddc52744
log warning not error when usn policy is On
2020-02-03 21:55:43 -08:00
Rod Savard
ec8f897460
log information event when snap policy is Auto
2020-02-03 21:50:27 -08:00
Rod Savard
57d36df981
improve error msg on snapshot failure
2020-02-03 21:47:11 -08:00
Rod Savard
b320c8968a
clean up usn and snapshot option parsing
2020-02-03 21:19:23 -08:00
warwickmm and GitHub
1dbaf360a6
Merge pull request #4080 from drwtsn32x/improve-config-change-detection
...
Consider file attributes and max file size exclusions in USN hash
2020-02-02 21:29:44 -08:00
Rod Savard
247a452d2b
send array of strings instead of single concatenated string
2020-02-02 20:53:09 -08:00
drwtsn32x and GitHub
6684610ee1
Merge pull request #4070 from warwickmm/add_compression_hints
...
Add OpenDocument draw files to compression hints
2020-02-02 16:50:29 -08:00
drwtsn32x and GitHub
0440c345da
Merge pull request #4064 from warwickmm/remove_unnecessary_assignment
...
Remove unnecessary variable assignment
2020-02-02 16:48:31 -08:00
drwtsn32x and GitHub
5ad530ef05
Merge pull request #4063 from warwickmm/remove_string_format
...
Remove redundant calls to String.Format
2020-02-02 16:46:31 -08:00
Rod Savard
a85c10fd8c
move config hash calculation to UsnJournalService
2020-02-02 15:09:23 -08:00
Rod Savard
685c77a018
remove unused parameter
2020-02-01 23:15:26 -08:00
Rod Savard
0a9880c6cf
change config hash calculation
2020-02-01 13:34:21 -08:00
Rod Savard
a974310f01
if full scan occurred, do not append previous set
2020-02-01 08:12:16 -08:00
Kenneth Hsu
cf16c055aa
Add OpenDocument draw files to compression hints.
...
Closes #4059 .
2020-01-26 19:24:02 -08:00
Kenneth Hsu
99b5c2d41d
Remove unused Options.HasDeleteAllButN property.
...
The last reference was removed in revision
3b70f99722 .
2020-01-26 12:54:18 -08:00
Kenneth Hsu
34f961b5e0
Remove unused Options.HasDeleteOlderThan property.
...
The last reference was removed in revision
3b70f99722 .
2020-01-26 12:53:09 -08:00
Kenneth Hsu
4e8505e003
Remove unused Options.ParseLogLevel method.
...
This was introduced in revision 842fd96543
without any usages.
2020-01-26 12:51:01 -08:00
Kenneth Hsu
0c2555bde4
Remove unused Options.SetCompressionModuleDefault method.
...
The last reference was removed in revision
c7836ce403 .
2020-01-26 10:30:48 -08:00
Kenneth Hsu
81eaaa1204
Remove unused Options.SetEncryptionModuleDefault method.
...
The last reference was removed in revision
c7836ce403 .
2020-01-26 10:29:40 -08:00
Kenneth Hsu
855b1e2135
Remove unused Options.DEFAULT_READ_BUFFER_SIZE field.
...
The last reference was removed in revision
89191a6caf .
2020-01-26 10:27:39 -08:00
Kenneth Hsu
69005a64f7
Remove unused BackendManager.FlushDbMessages method.
...
The last reference was removed in revision
8abdf87188 .
2020-01-26 10:18:19 -08:00
Kenneth Hsu
e241a17af6
Remove unused BackendManager.CreateFolder method.
...
This was introduced in revision aca4ed95cc
but without any apparent usages.
2020-01-26 10:18:19 -08:00
Kenneth Hsu
7d3d03c06f
Remove unused BackendManager.LastException property.
...
The last reference was removed in revision
8abdf87188 .
2020-01-26 10:18:19 -08:00
Kenneth Hsu
d847b46716
Remove unused BackendManager.HasDied property.
...
The last reference was removed in revision
8abdf87188 .
2020-01-26 10:18:19 -08:00
Kenneth Hsu
d7e3ac9b10
Move CreateFilesetFile method to FilesetVolumeWriter class.
...
This only concerns filesets, so it does not belong in the base class.
2020-01-25 18:53:15 -08:00
Kenneth Hsu
3551238000
Remove redundant calls to String.Format.
2020-01-25 17:07:02 -08:00
Kenneth Hsu
74573bf5ff
Remove unnecessary variable assignment.
2020-01-25 13:51:27 -08:00
Kenneth Skovhede and GitHub
a64671a0c6
Merge pull request #4018 from warwickmm/refactor/fileset_removal
...
Refactor fileset deletion code and add tests
2020-01-23 13:52:43 +01:00
warwickmm and GitHub
e1937f21b8
Merge pull request #4054 from seantempleton/compactblocklist
...
Write blocklists when compacting files
2020-01-22 17:22:55 -08:00
Kenneth Hsu
35ea890f96
Merge remote-tracking branch 'upstream/master' into refactor/fileset_removal
2020-01-21 20:23:49 -08:00
warwickmm and GitHub
837a787cbf
Merge pull request #4047 from warwickmm/bugfix/repair_missing_dindex
...
Fix bug when performing repair with missing dindex files
2020-01-21 19:46:36 -08:00
Sean Templeton
04662bace1
Write blocklists when compacting files
...
The list folder was not being written to dindex files when performing a
compact operation. After the data blocks have been moved to a new volume
and the new volume data is finished being written to the new index file,
read the blocklists from the database and write them to the new index
file.
2020-01-19 21:57:08 -06:00
drwtsn32x
b1a0353792
make tests case insensitive
2020-01-14 03:57:25 -08:00
Kenneth Hsu
d50f86ab7d
Fix issue with repairing missing dindex files.
...
Since we are keeping around a reference to the IndexVolumeWriter and
BlockVolumeWriter instances, we cannot wrap their usages in using
statements.
This fixes issue #4046 .
2020-01-09 19:55:27 -08:00
warwickmm and GitHub
52929e9eb2
Merge pull request #4042 from seantempleton/stopnowexceptions
...
Fix database corruptions that can occur with "stop now".
This was a source of the "Detected non-empty blocksets with no associated blocks!" exception.
2020-01-06 09:57:44 -08:00
warwickmm and GitHub
df2c70e8d2
Merge pull request #4039 from drwtsn32x/filter-cleanup
...
Support additional Recycle Bin paths in default Windows filters
2020-01-06 09:51:18 -08:00
Sean Templeton
3b6306b556
Fix exceptions caused by Stop Now
...
The LocalDatabase class was deleting from the BlocklistHash table based on the volume id of blocks. The deletes for the Blockset and BlocksetEntry tables were using a union query which included the same query the BlocklistHash delete was using. Changed the BlocklistHash delete query to use the union as well to ensure that all three tables would use the same query to delete the necessary rows. This fixes the "Detected non-empty blocksets with no associated blocks!" error.
Moved a write call in the DataBlockProcessor to send a volume for upload after setting blockvolume to null. This prevents a null reference exception because otherwise it would be sent to the SpillCollector and it tries to add a block, but the volume has already been closed.
Added the ? operator to the RegistryUtility class to prevent a null reference exception while debugging. It was annoying catching it in the debugger.
Fixes #4037
2020-01-05 21:43:56 -06:00
drwtsn32x
f4321ea115
fix typo
2020-01-01 16:50:34 -08:00