Kenneth Skovhede
3b85a77673
Minor style fixes
2017-01-05 09:57:06 +01:00
Kenneth Skovhede
4bf4871427
Added commandline operation to purge select files from filesets.
...
This fixes #1009 .
This paves the way for #1337 .
2016-12-29 22:41:13 +01:00
Kenneth Skovhede
d8972b0f2b
Removed unused memory cache code
2016-12-16 17:30:39 +01:00
Kenneth Skovhede
0c68daff6c
Fixed all whitespace to be 4 spaces instead of tabs
2016-09-15 11:39:27 +02:00
Kenneth Skovhede
742eab0913
Fixed multiple cases where connections and command instances were not disposed.
...
This should fix all cases of "File is locked" on windows.
2016-04-06 20:40:34 +02:00
Kenneth Skovhede
6aedcea7a6
Deleted extra left parenthesis
2016-03-27 16:07:03 +02:00
Kenneth Skovhede
4df9ec1224
Rewrote query for deleting filesets to support filesets with zero entries.
...
This should fix issue #1583
2016-03-27 15:28:49 +02:00
Kenneth Skovhede
9bfc39120a
Improved handling the compaction process with errors, such that deletes are marked and commited to the database before actually being deleted, causing fewer issues when resuming the operation afterwards.
2015-11-17 21:32:55 +01:00
Kenneth Skovhede
6fa57528a9
Fixed some cases where an interrupted upload would cause a deleted remote file to be attempted verified repeatedly.
2015-09-16 21:25:32 +02:00
Kenneth Skovhede
38661a3d8c
Correct reading of file with size == DBNull
...
This fixes #1296 .
2015-02-15 22:59:20 +01:00
Kenneth Skovhede
4846ffa103
Now using the file modification timestamp and the filesize as indicators that trigger file scanning.
...
This fixes #1099 .
2015-01-24 21:59:53 +01:00
Kenneth Skovhede
796459df5d
Fix for hash collisions with different size inputs
2014-05-14 14:44:56 +02:00
Kenneth Skovhede
1f48d43515
Removed the HashDatabaseProtector and added the HashLookupHelper instead.
2013-09-09 22:50:18 +02:00
Kenneth Skovhede
9cac8edaec
Fixed issue with compact not registering indexblocklinks
2013-08-27 10:23:21 +02:00
Kenneth Skovhede
47546553da
Fixed 2 bugs in the compact routine
2013-08-25 07:50:24 +02:00
Kenneth Skovhede
140b3575ee
Fixed output from delete command so it includes size
2013-08-25 07:49:31 +02:00
Kenneth Skovhede
3f1d210924
Added check for small file count
2013-08-24 21:16:44 +02:00
Kenneth Skovhede
4c217b57d9
Fixed a number of dispose errors that would mask real errors
2013-08-23 23:36:25 +02:00
Kenneth Skovhede
a229de8e23
Cleaned up some output with Backup and compacting.
...
Implemented better output for Restore.
Fixed a problem with errors during dispose, and a problem with selecting filesets that do not exist.
Fixed a bug with restore if a file existed with some correct data, a copy would be restored with partial data.
Added check to try to avoid excessive restores of the same files if a file in another version already exists.
2013-08-22 20:56:03 +02:00
Kenneth Skovhede
5c110162ea
Changed the time format of times used programmatically to use EPOCH seconds, as it is faster to parse and more reliable
2013-07-23 21:28:01 +02:00
Kenneth Skovhede
6830eb257d
Cleaned up storage of various timestamps to only use second precision
2013-07-09 13:51:08 +02:00
Kenneth Skovhede
c2556efd61
Converted a list method to an enumerator
2013-07-02 10:35:31 +02:00
Kenneth Skovhede
b80b471956
Bug fix
2013-07-02 10:35:10 +02:00
Kenneth Skovhede
04281d87a9
Added guards against empty results in compact
2013-07-01 17:57:10 +02:00
Kenneth Skovhede
f8494180cb
Changed the way inactive blocks are tracked.
...
They are now tracked exclusively from the DeletedBlock table
2013-06-28 14:57:44 +02:00
Kenneth Skovhede
d696670598
Reworked the result reporting to support type safe values
2013-05-25 16:40:15 +02:00
Kenneth Skovhede
ff90cf66ad
Implemented the --threshold based compacting mode
2013-05-21 21:16:01 +02:00
Kenneth Skovhede
3b70f99722
Implemented the new delete command and removed some more unused code
2013-05-11 22:56:21 +02:00
Kenneth Skovhede
23744d8915
More refactoring and cleanup
2013-05-08 21:29:59 +02:00
Kenneth Skovhede
8f704d9445
Moved stuff around and dropped the ForestHash namespace
2013-05-08 20:17:07 +02:00