summaryrefslogtreecommitdiff
path: root/src/include/log.h
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix compiler warning:Alex Gorrod2013-11-081-1/+5
| | | | | | | | | | | | | | ../src/log/log.c: In function '__wt_log_scan': ../src/log/log.c:696: warning: 'start_lsn.unused' may be used uninitialized in this function GCC is getting paranoid.
* | Add statistics to log buffering and general review cleanup.Alex Gorrod2013-10-251-6/+9
| |
* | Change the sleep in log_slot_close to a yield.Alex Gorrod2013-10-241-1/+1
| | | | | | | | Also increase the initial size for the log consolidation buffers.
* | Various enhancements to consolidated logging:Alex Gorrod2013-10-221-2/+3
| | | | | | | | | | | | | | * Complete the code that grows log buffers. * Add a sleep in before slot close, allowing more writes to consolidate. * Reduce the number of active slots to 1. This increases the amount of * writes per slot, which improves throughput
* | Use WT_CACHE_LINE_ALIGNMENT convention. #703Susan LoVerso2013-10-211-39/+12
| |
* | Fix a race growing the log slot buffer.Alex Gorrod2013-10-211-1/+3
| | | | | | | | A couple of other clean ups.
* | Add basic log buffering support. Not yet complete.Alex Gorrod2013-10-181-0/+4
| |
* | Treat database-wide checkpoints differently to file syncs. For ↵Michael Cahill2013-09-141-3/+4
| | | | | | | | database-wide checkpoints, we need to log the snapshot so we can work out which log records to apply during recovery.
* | Fixes from Sue's initial review:Michael Cahill2013-09-141-1/+1
| | | | | | | | | | | | | | | | 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.
* | Add __wt_log_ckpt to record a checkpoint LSN and signal archive thread.Susan LoVerso2013-09-041-0/+1
| | | | | | | | Fix log truncate code.
* | Add logging and recovery of file truncates.Michael Cahill2013-08-301-2/+4
| |
* | Deal with empty metadata during recovery.Michael Cahill2013-08-291-0/+2
| |
* | Scan through files before the main recovery loop, gathering checkpoint LSNs ↵Michael Cahill2013-08-291-0/+5
| | | | | | | | and file IDs.
* | Save LSNs in files during checkpoint.Michael Cahill2013-08-261-2/+3
| |
* | Update dist/log.py to generate code to read and write log records.Michael Cahill2013-08-131-15/+35
|/ | | | | --HG-- rename : src/log/log_desc.c => src/log/log_auto.c
* Lint.Susan LoVerso2013-07-181-7/+3
|
* Some small fixes / changes to logging to fix the size of records passed to ↵Michael Cahill2013-07-171-1/+1
| | | | callbacks and avoid error messages in normal operation.
* Delay pre-allocation until first real log record is written.Susan LoVerso2013-07-161-0/+2
|
* Make offsets, lens and slot state 64-bits.Susan LoVerso2013-07-081-11/+11
|
* Fix some signed / unsigned warnings.Michael Cahill2013-06-201-1/+1
|
* Add a couple new stats. Changes to handle direct_io.Susan LoVerso2013-06-191-1/+0
|
* Clean up warnings.Susan LoVerso2013-06-191-3/+1
|
* Clean up strings. Add slot_release_lsn to fix bug when changing files.Susan LoVerso2013-06-041-0/+3
|
* Clean up a bunch of warnings and remove a bunch of prints.Susan LoVerso2013-06-031-7/+0
|
* Remove unnecessary total_len from log record.Susan LoVerso2013-05-291-4/+3
|
* Add flags to flags.py. Implement log_scan API. Some bug fixes.Susan LoVerso2013-05-291-13/+3
|
* Basic __wt_log_read function and some test code to use it.Susan LoVerso2013-05-221-2/+5
|
* Add support for log descriptor structure at the beginning of log files.Susan LoVerso2013-05-221-4/+3
|
* Some clean-up.Susan LoVerso2013-05-211-2/+5
|
* Add sync support, return LSN and print thread id.Susan LoVerso2013-05-211-0/+11
|
* Add direct_io support for logging.Susan LoVerso2013-05-201-8/+25
|
* Add switching of log files.Susan LoVerso2013-05-161-4/+17
|
* Working slot code.Susan LoVerso2013-05-161-8/+20
|
* First pass that compiles.Susan LoVerso2013-05-151-4/+6
|
* Commit log.h and comments in log.cSusan LoVerso2013-05-091-2/+100
|
* Add missing WT_ATOMIC functions and log config.Susan LoVerso2013-05-021-0/+4
|
* Update copyright notice to 2013.Keith Bostic2013-01-011-1/+1
|
* Update copyright notices to 2012.Keith Bostic2012-01-221-3/+3
| | | | | | | | | | | | Change the copyright check script to always use the current year. Change the example code copyright notices to document them as freeware, anybody using WiredTiger example code is free to use it in any way they choose, including commercially, WiredTiger claims no rights in such a copy. Minor re-ordering of the standard copyright notice so the preamble is always the copyright notice itself, not the mention of the LICENSE file.
* Documentation: add notes on remote file systems, created file permissions,Keith Bostic2012-01-171-0/+2
| | | | | | | | | | | | | | security, name spaces, signal handling. Add a wiredtiger_strerror() example to the documentation. Fix the wiredtiger_version() documentatio example. Simplify our calls to __wt_open(), don't pass a mode any more, it's either 0 (not creating), or 0666 (creating). Rename the "logging" file from __wt.log to "WiredTiger.log" to match the rest of our files.
* Add the beginnings of a log manager.Michael Cahill2011-03-161-0/+22
--HG-- rename : src/utilities/util_dump.c => src/utilities/util_printlog.c