David Steele
|
f93c6caec2
|
Backup/restore copy will be run in the main process when thread-max=1. I've resisted this change because it adds complexity, but I have to accept that threads are not stable on all platforms. Or maybe any platform.
|
2015-02-28 10:23:33 -05:00 |
|
David Steele
|
b9378d94a2
|
Working on removing threads from instream compress/decompression.
|
2015-02-26 09:22:05 -05:00 |
|
David Steele
|
d2602a5c07
|
Tracking down a lockup in the restore threads. It doesn't happen in backup - they are the same except that restore uses the ThreadGroup object. I'm beginning to think that threads and objects don't play together very nicely. Objects in threads seems OK, but threads in objects, not so much.
|
2015-02-03 20:33:33 -05:00 |
|
David Steele
|
d93b246a69
|
Empty restore queues in a non-blocking way.
|
2015-02-02 19:34:34 -05:00 |
|
David Steele
|
7f38461c68
|
Remove ThreadQueue->end(). Not supported on all platforms.
|
2015-02-02 18:48:33 -05:00 |
|
David Steele
|
a6d3b7e1a9
|
Working on checking restores against the manifest. Current issue is that the manifest does not always record the final size of the file - it may change while the file is being copied. This is fine in principal but makes testing a pain.
|
2015-01-31 23:04:24 -05:00 |
|
David Steele
|
e524c4dd1a
|
Timeline unit tests are working.
Options from config file are being written to recovery.conf.
Fixed issue with .history files not being picked up by archive-xfer.
|
2015-01-31 13:48:09 -05:00 |
|
David Steele
|
50e015a838
|
Revert "Abortive attempt at cleaning up some thread issues - I realized the issue is in mixing threads and objects too liberally. Trying another approach but want to keep this code for historical and reference purposes."
This reverts commit e95631f82a .
|
2015-01-30 18:58:49 -05:00 |
|
David Steele
|
e95631f82a
|
Abortive attempt at cleaning up some thread issues - I realized the issue is in mixing threads and objects too liberally. Trying another approach but want to keep this code for historical and reference purposes.
|
2015-01-30 14:55:55 -05:00 |
|
David Steele
|
499d6c8422
|
Added tests for all --delta --force combinations.
Added error check for postmaster running.
Added error check for path not empty.
|
2015-01-28 13:14:46 -05:00 |
|
David Steele
|
a59bd8c328
|
Restores except for type=none are mostly working. There are some failing unit tests to fix.
|
2015-01-27 22:59:59 -05:00 |
|
David Steele
|
13544d51bf
|
Recovery is working for none and default, but unit tests are not complete.
|
2015-01-27 11:44:23 -05:00 |
|
David Steele
|
f59aae101d
|
Ready to start writing recovery unit tests.
|
2015-01-26 14:59:58 -05:00 |
|
David Steele
|
ac22c314a9
|
Working on plumbing for recovery options.
|
2015-01-26 11:01:24 -05:00 |
|
David Steele
|
e1c5f7f8ed
|
Now able to check for specific errors in unit tests - as long as they are raised with an error code.
|
2015-01-23 18:28:39 -05:00 |
|
David Steele
|
21c715b25c
|
Restore tablespace remaps are working.
|
2015-01-22 20:11:33 -05:00 |
|
David Steele
|
df4b50b977
|
Restore with base path remap working.
|
2015-01-22 19:04:55 -05:00 |
|
David Steele
|
8a7ee1bb1f
|
Integration of new Manifest object.
|
2015-01-20 14:13:35 -05:00 |
|
David Steele
|
131d910906
|
New structure for --delta and --force params.
|
2015-01-08 15:43:43 -05:00 |
|
David Steele
|
2e09df2cec
|
More work on new manifest object.
|
2015-01-08 12:04:56 -05:00 |
|
David Steele
|
0085e88966
|
Added File-owner()
|
2015-01-07 12:58:21 -05:00 |
|
David Steele
|
4f5ad8496d
|
Integrating new manifest object.
|
2015-01-07 10:59:43 -05:00 |
|
David Steele
|
297b22cb2b
|
Added INFO level logging when paths/files/links are removed during the clean phase of restore deltas.
|
2015-01-02 14:15:15 -05:00 |
|
David Steele
|
fb948de559
|
Fixed some minor issues in ownership code found by unit tests.
|
2014-12-31 12:28:16 -05:00 |
|
David Steele
|
7e083e8749
|
Restore as root is now working.
|
2014-12-31 11:20:46 -05:00 |
|
David Steele
|
0805055d4b
|
More work on restore ownership code.
|
2014-12-30 15:41:43 -05:00 |
|
David Steele
|
46ba3a18df
|
Ownership code runs through - may not work for all cases.
|
2014-12-30 11:59:57 -05:00 |
|
David Steele
|
9f8f33f957
|
Working on restore options and integration with unit tests.
|
2014-12-23 18:52:38 -05:00 |
|
David Steele
|
a96b83beb8
|
Restore can now remap base/tablespace locations.
Made Restore more modular.
|
2014-12-23 15:03:06 -05:00 |
|
David Steele
|
653ab486af
|
All restore module variables are now object local.
|
2014-12-23 12:48:25 -05:00 |
|
David Steele
|
51544edc70
|
Some cleanup in restore.
|
2014-12-23 11:48:51 -05:00 |
|
David Steele
|
2db71e91ad
|
Basic restore functionality is working.
|
2014-12-22 11:24:32 -05:00 |
|
David Steele
|
9086728b73
|
Restore removes paths/files/links and recreated paths/links.
|
2014-12-21 10:11:17 -05:00 |
|
David Steele
|
1557327d2b
|
Restore cleans out missing files and some basic unit tests.
|
2014-12-19 17:49:56 +00:00 |
|
David Steele
|
161a73159e
|
Added some constants.
|
2014-12-18 22:05:06 +00:00 |
|
David Steele
|
1dc00c9d4b
|
Starting on restore functionality, finally.
|
2014-12-18 16:42:54 +00:00 |
|