summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/txn.h
diff options
context:
space:
mode:
authorChenhao Qu <chenhao.qu@mongodb.com>2021-03-10 08:27:54 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-03-10 08:59:01 +0000
commit69327709384b7b740dd3a351e303896756050c93 (patch)
tree95ba355220394707880355e4d0f9219ddcf6ab2d /src/third_party/wiredtiger/src/include/txn.h
parentece8d522d6a38be698e27d89100c2ec66c617c10 (diff)
downloadmongo-69327709384b7b740dd3a351e303896756050c93.tar.gz
Import wiredtiger: 3be9854c26467f15b1e3e1d3b1b2cfc86c859b10 from branch mongodb-5.0
ref: ca937e9bc0..3be9854c26 for: 4.9.0 WT-6709 Remove timestamp queues that used to store read/durable timestamps
Diffstat (limited to 'src/third_party/wiredtiger/src/include/txn.h')
-rw-r--r--src/third_party/wiredtiger/src/include/txn.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/third_party/wiredtiger/src/include/txn.h b/src/third_party/wiredtiger/src/include/txn.h
index de72ec0c64c..23ed483a3fe 100644
--- a/src/third_party/wiredtiger/src/include/txn.h
+++ b/src/third_party/wiredtiger/src/include/txn.h
@@ -104,20 +104,10 @@ struct __wt_txn_shared {
*/
wt_timestamp_t read_timestamp;
- TAILQ_ENTRY(__wt_txn_shared) read_timestampq;
- TAILQ_ENTRY(__wt_txn_shared) durable_timestampq;
- /* Set if need to clear from the durable queue */
-
volatile uint8_t is_allocating;
- uint8_t clear_durable_q;
- uint8_t clear_read_q; /* Set if need to clear from the read queue */
-
WT_CACHE_LINE_PAD_END
};
-TAILQ_HEAD(__wt_txn_dts_qh, __wt_txn_shared);
-TAILQ_HEAD(__wt_txn_rts_qh, __wt_txn_shared);
-
struct __wt_txn_global {
volatile uint64_t current; /* Current transaction ID. */
@@ -151,16 +141,6 @@ struct __wt_txn_global {
/* Protects logging, checkpoints and transaction visibility. */
WT_RWLOCK visibility_rwlock;
- /* List of transactions sorted by durable timestamp. */
- WT_RWLOCK durable_timestamp_rwlock;
- struct __wt_txn_dts_qh durable_timestamph;
- uint32_t durable_timestampq_len;
-
- /* List of transactions sorted by read timestamp. */
- WT_RWLOCK read_timestamp_rwlock;
- struct __wt_txn_rts_qh read_timestamph;
- uint32_t read_timestampq_len;
-
/*
* Track information about the running checkpoint. The transaction snapshot used when
* checkpointing are special. Checkpoints can run for a long time so we keep them out of regular