diff options
author | Luke Chen <luke.chen@mongodb.com> | 2021-08-16 14:53:17 +1000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-08-16 05:21:34 +0000 |
commit | e00b31ac8a5509ebca265178daa3a1d1e2ab3bb2 (patch) | |
tree | ef6a7224febfdc095e6f7251d605f3a373b7639b /src/third_party/wiredtiger/test/checkpoint/workers.c | |
parent | 5a20195efb81fa18645498eac5a0865372b8a663 (diff) | |
download | mongo-e00b31ac8a5509ebca265178daa3a1d1e2ab3bb2.tar.gz |
Import wiredtiger: 4fed751669a4ca66b882f73a8e8d555174a4da66 from branch mongodb-master
ref: 8099896388..4fed751669
for: 5.1.0
WT-7928 VLCS checkpoint and additional test suite improvements
Diffstat (limited to 'src/third_party/wiredtiger/test/checkpoint/workers.c')
-rw-r--r-- | src/third_party/wiredtiger/test/checkpoint/workers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/test/checkpoint/workers.c b/src/third_party/wiredtiger/test/checkpoint/workers.c index 2cd947fbd79..05b9a83b75b 100644 --- a/src/third_party/wiredtiger/test/checkpoint/workers.c +++ b/src/third_party/wiredtiger/test/checkpoint/workers.c @@ -280,11 +280,12 @@ real_worker(void) } else testutil_check(__wt_snprintf( buf, sizeof(buf), "commit_timestamp=%x", g.ts_stable + 1)); - __wt_readunlock((WT_SESSION_IMPL *)session, &g.clock_lock); if ((ret = session->commit_transaction(session, buf)) != 0) { + __wt_readunlock((WT_SESSION_IMPL *)session, &g.clock_lock); (void)log_print_err("real_worker:commit_transaction", ret, 1); goto err; } + __wt_readunlock((WT_SESSION_IMPL *)session, &g.clock_lock); start_txn = true; /* Occasionally reopen cursors after committing. */ if (next_rnd % 13 == 0) { |