summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/conn/conn_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/conn/conn_api.c')
-rw-r--r--src/third_party/wiredtiger/src/conn/conn_api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/conn/conn_api.c b/src/third_party/wiredtiger/src/conn/conn_api.c
index 284e7e9883b..55251491129 100644
--- a/src/third_party/wiredtiger/src/conn/conn_api.c
+++ b/src/third_party/wiredtiger/src/conn/conn_api.c
@@ -1084,6 +1084,9 @@ err: /*
WT_TRET(wt_session->close(wt_session, config));
}
+ /* Shut down transactions (wait for in-flight operations to complete. */
+ WT_TRET(__wt_txn_global_shutdown(session));
+
/*
* Perform a system-wide checkpoint so that all tables are consistent
* with each other. All transactions are resolved but ignore