From e00b31ac8a5509ebca265178daa3a1d1e2ab3bb2 Mon Sep 17 00:00:00 2001 From: Luke Chen Date: Mon, 16 Aug 2021 14:53:17 +1000 Subject: Import wiredtiger: 4fed751669a4ca66b882f73a8e8d555174a4da66 from branch mongodb-master ref: 8099896388..4fed751669 for: 5.1.0 WT-7928 VLCS checkpoint and additional test suite improvements --- src/third_party/wiredtiger/test/checkpoint/workers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/third_party/wiredtiger/test/checkpoint/workers.c') 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) { -- cgit v1.2.1