summaryrefslogtreecommitdiff
path: root/src/include/txn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/txn.h')
-rw-r--r--src/include/txn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/txn.h b/src/include/txn.h
index 61ab343151c..f3e377b3380 100644
--- a/src/include/txn.h
+++ b/src/include/txn.h
@@ -105,6 +105,9 @@ struct __wt_txn_global {
/* Protects the active transaction states. */
WT_RWLOCK rwlock;
+ /* Protects logging, checkpoints and transaction visibility. */
+ WT_RWLOCK visibility_rwlock;
+
/* List of transactions sorted by commit timestamp. */
WT_RWLOCK commit_timestamp_rwlock;
TAILQ_HEAD(__wt_txn_cts_qh, __wt_txn) commit_timestamph;