Commit Graph
158 Commits
Author SHA1 Message Date
Kenneth Skovhede a14fceaa95 Fixed an issue with readers being closed prematurely during the repair process. 2015-03-06 13:54:17 +01:00
Kenneth Skovhede 3fc151b175 Fixed issue with file length not being set correctly.
Fixed issue with metadata not beign applied because file has not yet been created.
This solves #1214.
This solves #1218.
2015-03-04 16:50:32 +01:00
Kenneth Skovhede 3972211757 Added automatic log cleanup
This fixes #1298
2015-02-15 23:44:20 +01:00
Kenneth Skovhede 38661a3d8c Correct reading of file with size == DBNull
This fixes #1296.
2015-02-15 22:59:20 +01:00
Kenneth Skovhede 1a431a5f88 Preventing the "missing file" issue in #1214. 2015-02-07 23:27:05 +01:00
Kenneth Skovhede f6745e76a2 Added possible fix for the missing file issue in #1214.
Improved the repair process for the missing blocklist hash issue.
2015-02-04 21:52:49 +01:00
Kenneth Skovhede 0a375e2ceb Improved readability slightly 2015-02-04 21:44:03 +01:00
Kenneth Skovhede 852d0a0664 Added some repair logic for the missing file problem related to #1214. 2015-02-03 23:49:46 +01:00
Kenneth Skovhede 60389b1e6e Added extra consistency check to detect the missing file issue related to issue #1214. 2015-02-03 23:47:33 +01:00
Kenneth Skovhede 4eefccc4f2 Fixed an issue where changed metadata was not stored if the file data had not changed.
This also includes a fix for a path-lookup that was larger than needed.
2015-01-25 21:55:15 +01:00
Kenneth Skovhede 847c22e388 Fixed a bug that caused metadata to be restored for only every second file 2015-01-25 14:26:54 +01:00
Kenneth Skovhede bb17682b94 Indentation fixes 2015-01-25 12:33:00 +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 8d13e698eb Updated copyright notices 2015-01-20 21:44:52 +01:00
Kenneth Skovhede 80885b94e7 Now repairing duplicate bloklist hashes in repair.
This fixes #1238.
2015-01-12 23:07:57 +01:00
Kenneth Skovhede 4f9de30936 Added upload of detected missing index files 2014-12-30 18:29:07 +01:00
Kenneth Skovhede d5079786bd Also remove links if deleting the index file 2014-12-30 18:26:29 +01:00
Kenneth Skovhede fdc9d4fdd4 Moved GetBlocklists into the common database class. 2014-12-30 18:26:08 +01:00
Kenneth Skovhede 76a5ba98f8 Imporved error message 2014-12-30 18:25:30 +01:00
Kenneth Skovhede 299a1e8647 Fixed a case where a missing value caused an error 2014-12-30 17:16:17 +01:00
Kenneth Skovhede 3bcf7cf695 Added fixes to prevent the bare-metal recovery issue discussed in issue #1218 and #1214. 2014-12-30 16:15:21 +01:00
Kenneth Skovhede 7cbedb8f43 Refactored the synthetic filelist upload and added a check to prevent defect fileslist being uploaded. 2014-12-30 16:13:31 +01:00
Kenneth Skovhede 9893e999b0 Added TODO 2014-11-23 22:14:24 +01:00
Kenneth Skovhede 10c5cc9408 Added missing SQL command and improved speed of the queries 2014-11-23 22:07:55 +01:00
Kenneth Skovhede bee55a951e Fixed the metadata repair to work correctly when the unique index constraint is enforced 2014-11-23 21:54:38 +01:00
Kenneth Skovhede 5dfa207886 Bugfix 2014-11-23 21:53:33 +01:00
Kenneth Skovhede 289d8817f0 Added most handling of the restore operation with --skip-metadata=true 2014-11-19 14:15:11 +01:00
Kenneth Skovhede a5014d66e3 Merge branch 'metadata' 2014-11-15 17:46:01 +01:00
Kenneth Skovhede 8689d6cb80 Fixed bad SQL reported in #1186 2014-11-11 22:29:38 +01:00
Kenneth Skovhede df9f91d8de Fixed problem with the repair command.
This fixes #1188
2014-11-10 10:31:26 +01:00
Kenneth Skovhede c3fff60562 Merge branch 'master' into metadata 2014-11-06 08:31:15 +01:00
Kenneth Skovhede 608e61fbca Fixed SQL typo 2014-11-06 08:30:27 +01:00
Kenneth Skovhede 35bd0849f3 Removed some TODO's 2014-11-06 08:29:29 +01:00
Kenneth Skovhede 1f69459081 Implemented most of the metadata restore handling 2014-11-05 21:43:08 +01:00
Kenneth Skovhede 752b1bc054 Refactored restore iterators to use a much more compact approach. 2014-11-04 15:34:20 +01:00
Kenneth Skovhede cc4c320ec0 Fixed a syntax error. 2014-10-31 18:27:12 +01:00
Kenneth Skovhede e6f68eac67 Fixed one more speed issue when running with low-memory, it is now only marginally slower when not using memory caches. 2014-10-31 11:01:23 +01:00
Kenneth Skovhede d05f6f1324 Improved performance when running with all in-memory caches disabled by a factor of 16.
On a smaller dataset, the performance is now only a little more than twice as slow with a low memory footprint compared to the default with all memory caches enabled.
2014-10-30 23:45:36 +01:00
Kenneth Skovhede 4fab98f0f1 Fixed another bug with inserting duplicate metadatasets 2014-10-30 21:36:27 +01:00
Kenneth Skovhede b64a5b4c24 Added fixes to handle common issues where the database goes awry 2014-10-30 15:44:32 +01:00
Kenneth Skovhede 1547d0fd1e Fixed a bug with creating duplicate metadataset entries 2014-10-30 15:43:24 +01:00
Kenneth Skovhede c030e321c6 Improved error messages when a faulty database is discovered 2014-10-30 15:41:51 +01:00
Kenneth Skovhede c53f43a083 Fixed a bug with metadata lookup. 2014-10-30 00:15:25 +01:00
Kenneth Skovhede 114195c2ac Fixed an issue with recreating the local database as reported in issue #1150 and #1040. 2014-10-14 13:03:38 +02:00
Kenneth Skovhede bc0417906f Fixed to include files with no hashes in the verify process. 2014-08-26 12:50:03 +02:00
Kenneth Skovhede f97bdedac9 Implemented commandline method for listing affected files 2014-08-19 20:27:14 +02:00
Kenneth Skovhede f59eca060d Implemented a fast method for listing filesets, where no sizes are calculated 2014-08-19 20:26:21 +02:00
Kenneth Skovhede 0c1afd15a5 Improved a performance issue with counting the number of changed files 2014-08-12 11:04:57 +02:00
Kenneth Skovhede 8251c907fc Simplified the code for executing SQL commands with and without profiling 2014-08-12 11:03:25 +02:00
Kenneth Skovhede e0bc9d387a Removed some compile warnings 2014-08-07 21:03:47 +02:00