diff options
author | Michael Cahill <michael.cahill@mongodb.com> | 2015-09-15 11:04:16 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2015-09-28 16:35:32 +1000 |
commit | ffb29c7576ed162fe9ba119fd6d1936da6acf385 (patch) | |
tree | a4832ec7fd1acbaf088becd2ff6f76b5659e383b /src/conn | |
parent | 8e212cf8907a5d2462dead47aebcce074dd3c066 (diff) | |
download | mongo-ffb29c7576ed162fe9ba119fd6d1936da6acf385.tar.gz |
WT-2101 Don't update the logging ckpt_lsn on clean shutdown.
Merge pull request #2190 from wiredtiger/wt-2101
(cherry picked from commit 41db2ee37d11b0a885fc883dbcb2a92394e598d1)
Diffstat (limited to 'src/conn')
-rw-r--r-- | src/conn/conn_log.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conn/conn_log.c b/src/conn/conn_log.c index 1e5e322016c..65e0f684382 100644 --- a/src/conn/conn_log.c +++ b/src/conn/conn_log.c @@ -145,10 +145,9 @@ __log_archive_once(WT_SESSION_IMPL *session, uint32_t backup_file) for (i = 0; i < logcount; i++) { WT_ERR(__wt_log_extract_lognum( session, logfiles[i], &lognum)); - if (lognum < min_lognum) { + if (lognum < min_lognum) WT_ERR(__wt_log_remove( session, WT_LOG_FILENAME, lognum)); - } } } __wt_spin_unlock(session, &conn->hot_backup_lock); |