summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/lsm/lsm_work_unit.c
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2020-04-22 09:50:35 +1000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-22 00:27:44 +0000
commit0a5ff5f074b671308c843b4ba6d7195b2591e7d4 (patch)
tree2668db86a44cabd966cd7fabe8a11aeadfd1de83 /src/third_party/wiredtiger/src/lsm/lsm_work_unit.c
parentc593d0fb6eec6b4f3c7ae02a5c3de73ad6e3af95 (diff)
downloadmongo-0a5ff5f074b671308c843b4ba6d7195b2591e7d4.tar.gz
Import wiredtiger: 7b994a862e899a12eb7c3ac814c9fada7d8d1ab9 from branch mongodb-4.4
ref: 9bd1ece797..7b994a862e for: 4.5.1 WT-4701 Switch test/format to use WiredTiger locking primitives WT-5766 Separate out internal and shared transaction data WT-5791 Prepare checkpoint can finish in 0msec and reset prepare min stat WT-5794 Remove skew_newest option from reconciliation WT-5833 Fix caching issue for overflow key/value items WT-5919 Disallow logging archival testing with log-based incremental backup WT-5946 Eviction server handles can deadlock when opening HS cursors WT-5968 Make the WT_SESSION_IMPL.txn field an allocated structure WT-5986 Create script for emulating multiversion tests WT-6016 Fill source code comments where lines start with parentheticals WT-6020 __rec_append_orig_value() cleanup WT-6026 Fix s_all breakage on format.h
Diffstat (limited to 'src/third_party/wiredtiger/src/lsm/lsm_work_unit.c')
-rw-r--r--src/third_party/wiredtiger/src/lsm/lsm_work_unit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/src/lsm/lsm_work_unit.c b/src/third_party/wiredtiger/src/lsm/lsm_work_unit.c
index ad71a1ee3dd..ed4a5b43c4b 100644
--- a/src/third_party/wiredtiger/src/lsm/lsm_work_unit.c
+++ b/src/third_party/wiredtiger/src/lsm/lsm_work_unit.c
@@ -403,10 +403,10 @@ __wt_lsm_checkpoint_chunk(WT_SESSION_IMPL *session, WT_LSM_TREE *lsm_tree, WT_LS
* Set read-uncommitted: we have already checked that all of the updates in this chunk are
* globally visible, use the cheapest possible check in reconciliation.
*/
- saved_isolation = session->txn.isolation;
- session->txn.isolation = WT_ISO_READ_UNCOMMITTED;
+ saved_isolation = session->txn->isolation;
+ session->txn->isolation = WT_ISO_READ_UNCOMMITTED;
ret = __wt_sync_file(session, WT_SYNC_WRITE_LEAVES);
- session->txn.isolation = saved_isolation;
+ session->txn->isolation = saved_isolation;
WT_ERR(ret);
__wt_verbose(session, WT_VERB_LSM, "LSM worker checkpointing %s", chunk->uri);