Susan LoVerso
60dbd9b65f
Make generated record and op types public.
2014-07-29 15:59:17 -04:00
Michael Cahill
f23871f394
Switch log_printf to use a log record in the same format as transactional operations, update "wt printlog" to print all log record types.
...
refs #605
2013-11-21 17:26:48 +11:00
Michael Cahill
afce3e45eb
Fixes based on Sue's review feedback.
2013-11-12 17:32:43 +11:00
Michael Cahill
aa6c1500b2
Check Python scripts for 80 column line wrapping, fix violations.
2013-11-05 09:47:42 +11:00
Michael Cahill
fa0b36041b
Treat database-wide checkpoints differently to file syncs. For database-wide checkpoints, we need to log the snapshot so we can work out which log records to apply during recovery.
2013-09-14 07:38:53 +10:00
Michael Cahill
9e941deeac
Fixes from Sue's initial review:
...
1. log.h has WT_LOGREC_INVALID defined twice.
2. In txn_recover.c in __wt_txn_recover, the comment about LOGSCAN_RECOVER
is no longer valid and should be able to pass that in and the correct
truncation should happen.
2013-09-14 07:38:53 +10:00
Michael Cahill
e66187fdfe
Add logging and recovery of file truncates.
2013-08-30 09:55:53 +10:00
Michael Cahill
5708ef0a2d
Scan through files before the main recovery loop, gathering checkpoint LSNs and file IDs.
2013-08-29 10:36:01 +10:00
Michael Cahill
4835fc22c8
Save LSNs in files during checkpoint.
2013-08-26 16:33:29 +10:00
Michael Cahill
34f5cae009
Update dist/log.py to generate code to read and write log records.
...
--HG--
rename : src/log/log_desc.c => src/log/log_auto.c
2013-08-13 16:51:35 +10:00
Michael Cahill
9a051e0575
Add the beginnings of a log manager.
...
--HG--
rename : src/utilities/util_dump.c => src/utilities/util_printlog.c
2011-03-16 13:36:15 +11:00