diff options
author | Keith Bostic <keith.bostic@mongodb.com> | 2017-02-09 09:15:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-09 09:15:15 -0500 |
commit | 0b9e4534b2e01a7bf3dec00c91d6f38dfbcc0dd0 (patch) | |
tree | f7c0bd56aca2b0facdedad02eb6b945c022ef70d /src/include/btmem.h | |
parent | 15b7658a380e374e627b86e7629c8fad3ef349dc (diff) | |
download | mongo-0b9e4534b2e01a7bf3dec00c91d6f38dfbcc0dd0.tar.gz |
WT-3088 bug: WiredTiger can evict the tree's current eviction walk point (#3280)
WT-3088 bug: WiredTiger can evict the tree's current eviction walk point
Diffstat (limited to 'src/include/btmem.h')
-rw-r--r-- | src/include/btmem.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/btmem.h b/src/include/btmem.h index 43c1a309d52..39ca223aebf 100644 --- a/src/include/btmem.h +++ b/src/include/btmem.h @@ -483,6 +483,7 @@ struct __wt_page { */ struct { WT_REF *parent_ref; /* Parent reference */ + uint64_t split_gen; /* Generation of last split */ struct __wt_page_index { uint32_t entries; @@ -492,6 +493,8 @@ struct __wt_page { } intl; #undef pg_intl_parent_ref #define pg_intl_parent_ref u.intl.parent_ref +#undef pg_intl_split_gen +#define pg_intl_split_gen u.intl.split_gen /* * Macros to copy/set the index because the name is obscured to ensure @@ -593,9 +596,8 @@ struct __wt_page { #define WT_PAGE_DISK_MAPPED 0x04 /* Disk image in mapped memory */ #define WT_PAGE_EVICT_LRU 0x08 /* Page is on the LRU queue */ #define WT_PAGE_OVERFLOW_KEYS 0x10 /* Page has overflow keys */ -#define WT_PAGE_SPLIT_BLOCK 0x20 /* Split blocking eviction and splits */ -#define WT_PAGE_SPLIT_INSERT 0x40 /* A leaf page was split for append */ -#define WT_PAGE_UPDATE_IGNORE 0x80 /* Ignore updates on page discard */ +#define WT_PAGE_SPLIT_INSERT 0x20 /* A leaf page was split for append */ +#define WT_PAGE_UPDATE_IGNORE 0x40 /* Ignore updates on page discard */ uint8_t flags_atomic; /* Atomic flags, use F_*_ATOMIC */ uint8_t unused[2]; /* Unused padding */ |