diff --git a/src/conn/conn_log.c b/src/conn/conn_log.c index d2cf3b7cd80..be7ce2e9344 100644 --- a/src/conn/conn_log.c +++ b/src/conn/conn_log.c @@ -167,7 +167,7 @@ __log_archive_once(WT_SESSION_IMPL *session, uint32_t backup_file) if (0) err: __wt_err(session, ret, "log archive server error"); if (locked) - WT_RET(__wt_readunlock(session, conn->hot_backup_lock)); + WT_TRET(__wt_readunlock(session, conn->hot_backup_lock)); if (logfiles != NULL) __wt_log_files_free(session, logfiles, logcount); return (ret); diff --git a/src/txn/txn_ckpt.c b/src/txn/txn_ckpt.c index 59b055494c3..f317a3dc697 100644 --- a/src/txn/txn_ckpt.c +++ b/src/txn/txn_ckpt.c @@ -1099,7 +1099,7 @@ nockpt: F_SET(btree, WT_BTREE_SKIP_CKPT); btree->modified = 1; if (hot_backup_locked) - WT_RET(__wt_readunlock(session, conn->hot_backup_lock)); + WT_TRET(__wt_readunlock(session, conn->hot_backup_lock)); __wt_meta_ckptlist_free(session, ckptbase); __wt_free(session, name_alloc);