diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/include/session.h')
-rw-r--r-- | src/third_party/wiredtiger/src/include/session.h | 29 |
1 files changed, 6 insertions, 23 deletions
diff --git a/src/third_party/wiredtiger/src/include/session.h b/src/third_party/wiredtiger/src/include/session.h index f3a11d1dba4..bd69cc36405 100644 --- a/src/third_party/wiredtiger/src/include/session.h +++ b/src/third_party/wiredtiger/src/include/session.h @@ -57,10 +57,10 @@ struct __wt_session_impl { WT_DATA_HANDLE *dhandle; /* Current data handle */ /* - * Each session keeps a cache of data handles. The set of handles - * can grow quite large so we maintain both a simple list and a hash - * table of lists. The hash table key is based on a hash of the table - * URI. The hash table list is kept in allocated memory that lives + * Each session keeps a cache of data handles. The set of handles can + * grow quite large so we maintain both a simple list and a hash table + * of lists. The hash table key is based on a hash of the data handle's + * URI. The hash table list is kept in allocated memory that lives * across session close - so it is declared further down. */ /* Session handle reference list */ @@ -90,20 +90,6 @@ struct __wt_session_impl { int meta_track_nest; /* Nesting level of meta transaction */ #define WT_META_TRACKING(session) ((session)->meta_track_next != NULL) - /* - * Each session keeps a cache of table handles. The set of handles - * can grow quite large so we maintain both a simple list and a hash - * table of lists. The hash table list is kept in allocated memory - * that lives across session close - so it is declared further down. - */ - TAILQ_HEAD(__tables, __wt_table) tables; - - /* - * Updated when the table cache is swept of all tables older than the - * current schema generation. - */ - uint64_t table_sweep_gen; - /* Current rwlock for callback. */ WT_RWLOCK *current_rwlock; uint8_t current_rwticket; @@ -176,16 +162,13 @@ struct __wt_session_impl { /* Hashed handle reference list array */ TAILQ_HEAD(__dhandles_hash, __wt_data_handle_cache) *dhhash; - /* Hashed table reference list array */ - TAILQ_HEAD(__tables_hash, __wt_table) *tablehash; /* Generations manager */ #define WT_GEN_CHECKPOINT 0 /* Checkpoint generation */ #define WT_GEN_EVICT 1 /* Eviction generation */ #define WT_GEN_HAZARD 2 /* Hazard pointer */ -#define WT_GEN_SCHEMA 3 /* Schema version */ -#define WT_GEN_SPLIT 4 /* Page splits */ -#define WT_GENERATIONS 5 /* Total generation manager entries */ +#define WT_GEN_SPLIT 3 /* Page splits */ +#define WT_GENERATIONS 4 /* Total generation manager entries */ volatile uint64_t generations[WT_GENERATIONS]; /* |