diff options
author | Etienne Petrel <etienne.petrel@mongodb.com> | 2022-04-22 01:16:12 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-04-22 01:46:54 +0000 |
commit | a5f68db52a7b45700e6885eb6ec6227c503c6f80 (patch) | |
tree | e682afce2b0d868ade3c2759530a4d374b9383ba /src/third_party/wiredtiger/src/include/session.h | |
parent | 834380e8f40188d8b4c33c11875fa76915b7eced (diff) | |
download | mongo-a5f68db52a7b45700e6885eb6ec6227c503c6f80.tar.gz |
Import wiredtiger: 3fa9aed7f25f1af8b1d71b72ab45c21817e8150c from branch mongodb-master
ref: 0cbb7bdf05..3fa9aed7f2
for: 6.1.0-rc0
WT-5927 Make checkpoint cursors work again
Diffstat (limited to 'src/third_party/wiredtiger/src/include/session.h')
-rw-r--r-- | src/third_party/wiredtiger/src/include/session.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/include/session.h b/src/third_party/wiredtiger/src/include/session.h index 58551f5b702..37553eeaab8 100644 --- a/src/third_party/wiredtiger/src/include/session.h +++ b/src/third_party/wiredtiger/src/include/session.h @@ -141,11 +141,20 @@ struct __wt_session_impl { void *block_manager; /* Block-manager support */ int (*block_manager_cleanup)(WT_SESSION_IMPL *); + const char *hs_checkpoint; /* History store checkpoint name, during checkpoint cursor ops */ + uint64_t checkpoint_write_gen; /* Write generation override, during checkpoint cursor ops */ + /* Checkpoint handles */ WT_DATA_HANDLE **ckpt_handle; /* Handle list */ u_int ckpt_handle_next; /* Next empty slot */ size_t ckpt_handle_allocated; /* Bytes allocated */ + /* Named checkpoint drop list, during a checkpoint */ + WT_ITEM *ckpt_drop_list; + + /* Checkpoint time of current checkpoint, during a checkpoint */ + uint64_t current_ckpt_sec; + /* * Operations acting on handles. * @@ -288,3 +297,6 @@ struct __wt_session_impl { WT_SESSION_STATS stats; }; + +/* Consider moving this to session_inline.h if it ever appears. */ +#define WT_READING_CHECKPOINT(s) ((s)->dhandle != NULL && WT_DHANDLE_IS_CHECKPOINT((s)->dhandle)) |