Kenneth Skovhede
551e11303c
Fixed the duplicated log entries in the log file.
...
This fixes #2254
2017-01-19 13:12:17 +01:00
Kenneth Skovhede
d08b7750f0
Removed the unnecessary distinct clause from the recreate query.
...
Added a comment about the potentially unnecessary extra join in the statements that fills in block hashes.
2017-01-19 10:53:32 +01:00
Kenneth Skovhede
305d8bc7fe
Added an extra condition on the join for the recreate issue.
...
This is a less experimental rewrite of the query that fixes the exact problem.
The speedups from this query fix are also substantial, going from 2.5 hours to 11 minutes.
This is likely a fix to these issues:
#1699 , #2048 , #2140 , #2178
This could help with issues:
#1391 , #2050
2017-01-19 09:55:36 +01:00
Kenneth Skovhede
c4271e93d7
Prevent loading the HyperV and MSSQL modules on Linux, and safeguard against null input.
...
This fixes #2233
2017-01-16 11:48:41 +01:00
Kenneth Skovhede
c79eaad6a8
Pedantic fix: use single quotes as described in the documentation
2017-01-16 10:28:38 +01:00
Kenneth Skovhede
f72d9f0325
Merge branch 'feature/debug_for_1699'
2017-01-16 10:23:41 +01:00
Kenneth Skovhede
3b4cd3c9c2
Experiment to set the SQLite temp folder, both through the environment variable and the deprecated pragma statement
2017-01-15 23:09:47 +01:00
Kenneth Skovhede
34ee487379
Fixed a spelling issue
2017-01-15 23:08:52 +01:00
Kenneth Skovhede
be46960a6b
Added debugging code that dumps the temporary tables as permanent tables if the error from #1699 , #2048 , #2140 , or #2178
2017-01-15 23:08:21 +01:00
Kenneth Skovhede
97ba7ef9a5
Fixed issue with restoring files to their original location.
...
This fixes #2246
2017-01-14 12:46:59 +01:00
Kenneth Skovhede
43d5afe5c9
More disabling of assembly signing
2017-01-13 00:17:27 +01:00
Kenneth Skovhede
c5d483c821
More disabling of assembly signing
2017-01-13 00:10:00 +01:00
Kenneth Skovhede
5ab248b660
Removed assembly signing from the snapshot project as that depends on two libraries that are not signed.
2017-01-13 00:03:28 +01:00
Kenneth Skovhede
f3570507e3
Merge branch 'master' into feature/improved_consistency_check
2017-01-12 09:31:39 +01:00
Kenneth Skovhede
4dcf386312
Merge branch 'feature/revert_slowdown_2244'
2017-01-12 09:28:23 +01:00
Kenneth Skovhede
e79cfa4d6f
Merge branch 'feature/fix_send_mail'
2017-01-12 09:28:12 +01:00
Kenneth Skovhede
f5a1bcd32c
Reverted the SQL query to use the Timestamp sorting instead of explicit fileset.
...
This fixes #2244
2017-01-11 23:48:41 +01:00
Kenneth Skovhede
d62d483202
One more rework for the log output, to allow some messages to enter the log file but not the console
2017-01-11 23:35:42 +01:00
Kenneth Skovhede
84edb40ad0
Merge branch 'feature/fix_allow_full_removal'
2017-01-11 22:48:00 +01:00
Kenneth Skovhede
030a504183
Reworked the way the controller uses logging scopes to selectively send messages to file logs, but not normal operation listener
2017-01-11 22:44:42 +01:00
Kenneth Skovhede
309df0f720
Added re-entrancy locks to all reporting messages in BasicResults
2017-01-11 22:41:28 +01:00
Kenneth Skovhede
17ae124a8d
Changed logging re-entrancy lock to not look at the message itself
2017-01-11 22:41:01 +01:00
Kenneth Skovhede
5bbe41d31d
Added sanity checks to the file-backed list, as well as a fix for enumerating, and then adding items afterwards
2017-01-11 15:07:37 +01:00
Kenneth Skovhede
d3a3d8c85f
Fixed a mistake in the debugging code for issue 2140
2017-01-11 13:51:56 +01:00
Kenneth Skovhede
816ac4e722
Changed the way the delete handler deals with --allow-full-removal
2017-01-11 13:51:30 +01:00
Kenneth Skovhede
e692be5c92
Reworked the way log messages are handled, to include call-context setup.
...
This enables modules to report messages to the message-sink, and thus to the commandline through the normal interface.
This simplifies handling multiple logging systems, and supports reporting logging from multiple concurrent controller instances.
This fixes #2225
This fixes #1575
2017-01-09 23:27:56 +01:00
Kenneth Skovhede
6bb1579aa9
Updated MailKit, fixed a bug with DnsLite, added backward compatible tls support from MailKit.
...
This fixes #1540 .
This fixes #1948 .
This fixes #2060
This fixes #2225
2017-01-09 23:21:00 +01:00
agrajaghh
f0c0e9ffd5
Revert "Update Strings.cs"
...
This reverts commit 4266ed9d4a .
2017-01-09 20:54:18 +01:00
Kenneth Skovhede
a029890409
Implemented better default error messsages
2017-01-09 11:35:38 +01:00
Kenneth Skovhede
fc9f1b1dd3
Added description for the --allow-full-removal option
2017-01-09 10:40:09 +01:00
Kenneth Skovhede
9a849a2b58
Improved support for cross-os restores.
...
This fixes #1302
This fixes #1983
2017-01-06 23:01:54 +01:00
Kenneth Skovhede
8571475938
Merge branch 'feature/debug_listing_for_1400'
2017-01-06 10:03:03 +01:00
Kenneth Skovhede
684bd867ed
Merge branch 'feature/debug_listing_for_2140'
2017-01-05 22:16:32 +01:00
Kenneth Skovhede
1b4cb3b5df
Merge branch 'feature/implement_remote_file_recovery'
2017-01-05 22:16:25 +01:00
Kenneth Skovhede
179290d521
Added more extensive listing to further pinpoint the source of the error in #1400
2017-01-05 22:15:59 +01:00
Kenneth Skovhede
fd0d0d5529
Added tracing output to track down issue #1699 , #2140 and #2178
2017-01-05 21:41:21 +01:00
Kenneth Skovhede
ab6379cec2
Added helpful hints if it is detected that the errors can be fixed with purge-broken-files
2017-01-05 20:58:33 +01:00
Kenneth Skovhede
1108d51d7f
Implemented a new new list-broken-files and purge-broken-files command for the commandline to assist with handling remote file loss.
2017-01-05 16:46:01 +01:00
Kenneth Skovhede
76aae5de7b
Changed the logic for getting the last-modified timestamp from the database.
...
Now we only look at the timestamp from the previous fileset, instead of for the last time the file was seen.
This should improve lookup times, and thus the running time for backups with many files.
This change means that the following sequence of operations will react differently:
- backup
- delete file
- backup
- undelete file
- backup
Prior to this commit, the undeleted file would be seen with the original timestamp and thus can avoid being scanned for changes.
After this commit, the file will be treated as a new file, even if it has the previous timestamp and will thus be scanned for changes.
An additional switch has been introduced, --check-filetime-only that improves the lookup further by not looking at the metadata or filesize, and thus makes a much lighter call to the database, where fewer tables need to be touched.
2017-01-05 10:03:32 +01:00
Kenneth Skovhede
3b85a77673
Minor style fixes
2017-01-05 09:57:06 +01:00
Kenneth Skovhede
e1a989ca32
Merge branch 'feature/add_purge_command'
2016-12-30 00:39:59 +01:00
Kenneth Skovhede and GitHub
3c621ed659
Merge pull request #2212 from seaeagle1/master
...
Use CWD to change to path in AlternativeFTP client connection
2016-12-30 00:17:12 +01:00
Kenneth Skovhede and GitHub
d7e9f0b61a
Merge pull request #2208 from dessant/patch-1
...
list webp as a compressed extension
2016-12-30 00:10:31 +01:00
Kenneth Skovhede and GitHub
bc0f500830
Merge pull request #2218 from sfahrenholz/spelling_mistakes
...
Typo fixes
2016-12-30 00:10:06 +01:00
Kenneth Skovhede
52eb8e8478
Disabled MSBuild for much faster builds on MacOS
2016-12-29 23:12:41 +01:00
Kenneth Skovhede
9dc44f4841
Removed unused files from TahoeLAFS project
2016-12-29 23:11:51 +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
seaeagle1
ed62f77864
Fix Listing
2016-12-29 21:20:12 +01:00
seaeagle1
bc9a852fac
Reuse FTP connection
2016-12-29 15:00:19 +01:00
seaeagle1
901966ccdd
Use CWD to change to path in AlternativeFTP client connection
2016-12-28 19:31:25 +01:00