diff options
author | Susan LoVerso <sue@wiredtiger.com> | 2013-09-04 09:51:43 -0400 |
---|---|---|
committer | Susan LoVerso <sue@wiredtiger.com> | 2013-09-04 09:51:43 -0400 |
commit | 55b34eff20f056f5e4b8bfcda20d16c373fe69d9 (patch) | |
tree | 3de9f3240c324ffa3967b43bf6cf758cc0e15632 /src/conn/conn_log.c | |
parent | 4cd97949c4c5957a235904c298e454bc81dcf66e (diff) | |
download | mongo-55b34eff20f056f5e4b8bfcda20d16c373fe69d9.tar.gz |
Add __wt_log_ckpt to record a checkpoint LSN and signal archive thread.
Fix log truncate code.
Diffstat (limited to 'src/conn/conn_log.c')
-rw-r--r-- | src/conn/conn_log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conn/conn_log.c b/src/conn/conn_log.c index c7c4d93b554..9ec806e0ff2 100644 --- a/src/conn/conn_log.c +++ b/src/conn/conn_log.c @@ -179,6 +179,7 @@ __wt_logmgr_create(WT_CONNECTION_IMPL *conn, const char *cfg[]) INIT_LSN(&log->ckpt_lsn); INIT_LSN(&log->first_lsn); INIT_LSN(&log->sync_lsn); + INIT_LSN(&log->trunc_lsn); INIT_LSN(&log->write_lsn); log->fileid = 0; WT_RET(__wt_log_open(session)); |