diff options
author | Luke Chen <luke.chen@mongodb.com> | 2020-10-19 16:32:16 +1100 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-19 06:06:15 +0000 |
commit | 410e2431bcd76a598e15af64f46b71155502b096 (patch) | |
tree | 49bb96a998aad3dcdec57c71d8521a680381af2c | |
parent | 5362f02f26313574e3aa8cadcc6fd66bc43f301b (diff) | |
download | mongo-410e2431bcd76a598e15af64f46b71155502b096.tar.gz |
Import wiredtiger: 6614fa3dcaceaa95da289bbffe3d96eecb1c972c from branch mongodb-5.0
ref: 0626020133..6614fa3dca
for: 4.9.0
WT-6612 Increase cache size in test_prepare08 to fix rollback error due to cache pressure
WT-6629 Support index tables in metadata:create cursors
WT-6736 Add statistics to track evictions in parallel with checkpoint
WT-6764 Wait for stable timestamp to move before publishing checkpoint information in timestamp abort test
11 files changed, 455 insertions, 355 deletions
diff --git a/src/third_party/wiredtiger/dist/stat_data.py b/src/third_party/wiredtiger/dist/stat_data.py index 4d8072b5cee..8e2d1ef2ca6 100644 --- a/src/third_party/wiredtiger/dist/stat_data.py +++ b/src/third_party/wiredtiger/dist/stat_data.py @@ -244,6 +244,7 @@ connection_stats = [ CacheStat('cache_eviction_pages_queued_urgent', 'pages queued for urgent eviction'), CacheStat('cache_eviction_pages_seen', 'pages seen by eviction walk'), CacheStat('cache_eviction_pages_already_queued', 'pages seen by eviction walk that are already queued'), + CacheStat('cache_eviction_pages_in_parallel_with_checkpoint', 'pages evicted in parallel with checkpoint'), CacheStat('cache_eviction_queue_empty', 'eviction server candidate queue empty when topping up'), CacheStat('cache_eviction_queue_not_empty', 'eviction server candidate queue not empty when topping up'), CacheStat('cache_eviction_server_evicting', 'eviction server evicting pages'), diff --git a/src/third_party/wiredtiger/import.data b/src/third_party/wiredtiger/import.data index 7c33a4bc909..99cbeecfe50 100644 --- a/src/third_party/wiredtiger/import.data +++ b/src/third_party/wiredtiger/import.data @@ -2,5 +2,5 @@ "vendor": "wiredtiger", "github": "wiredtiger/wiredtiger.git", "branch": "mongodb-5.0", - "commit": "0626020133546d8e475e63522f49840c33a250d6" + "commit": "6614fa3dcaceaa95da289bbffe3d96eecb1c972c" } diff --git a/src/third_party/wiredtiger/src/cursor/cur_metadata.c b/src/third_party/wiredtiger/src/cursor/cur_metadata.c index 543f6221333..66e2ec5b77b 100644 --- a/src/third_party/wiredtiger/src/cursor/cur_metadata.c +++ b/src/third_party/wiredtiger/src/cursor/cur_metadata.c @@ -60,8 +60,9 @@ err: * __schema_create_collapse -- * Discard any configuration information from a schema entry that is not applicable to an * session.create call. For a table URI that contains no named column groups, fold in the - * configuration from the implicit column group and its source. For a named column group URI, - * fold in its source. + * configuration from the implicit column group and its source. For a named column group or + * index URI, fold in its source. For a table URI that contains named column groups, we return + * only the table portion. */ static int __schema_create_collapse(WT_SESSION_IMPL *session, WT_CURSOR_METADATA *mdc, const char *key, @@ -79,14 +80,17 @@ __schema_create_collapse(WT_SESSION_IMPL *session, WT_CURSOR_METADATA *mdc, cons c = NULL; if (key != NULL && WT_PREFIX_SKIP(key, "table:")) { /* - * Check if the table has declared column groups. If it does, don't attempt to open the - * automatically created column group for simple tables. + * Check if the table has declared column groups. If it does, return just the table info. + * One can get the creation metadata for an index or column group table itself or for simple + * tables. */ WT_RET(__wt_config_getones(session, value, "colgroups", &cgconf)); __wt_config_subinit(session, &cparser, &cgconf); - if ((ret = __wt_config_next(&cparser, &ckey, &cval)) == 0) + if ((ret = __wt_config_next(&cparser, &ckey, &cval)) == 0) { + firstcfg = cfg; goto skip; + } WT_RET_NOTFOUND_OK(ret); c = mdc->create_cursor; @@ -103,7 +107,7 @@ __schema_create_collapse(WT_SESSION_IMPL *session, WT_CURSOR_METADATA *mdc, cons WT_ERR(c->get_value(c, &v)); WT_ERR(__wt_strdup(session, v, --cfg)); WT_ERR(__schema_source_config(session, c, v, --cfg)); - } else if (key != NULL && WT_PREFIX_SKIP(key, "colgroup:")) { + } else if (key != NULL && (WT_PREFIX_SKIP(key, "colgroup:") || WT_PREFIX_SKIP(key, "index:"))) { if (strchr(key, ':') != NULL) { c = mdc->create_cursor; WT_ERR(__wt_strdup(session, value, --cfg)); @@ -111,9 +115,9 @@ __schema_create_collapse(WT_SESSION_IMPL *session, WT_CURSOR_METADATA *mdc, cons } } -skip: firstcfg = cfg; *--firstcfg = WT_CONFIG_BASE(session, WT_SESSION_create); +skip: WT_ERR(__wt_config_collapse(session, firstcfg, value_ret)); err: diff --git a/src/third_party/wiredtiger/src/evict/evict_page.c b/src/third_party/wiredtiger/src/evict/evict_page.c index dff2a235625..3195928ac77 100644 --- a/src/third_party/wiredtiger/src/evict/evict_page.c +++ b/src/third_party/wiredtiger/src/evict/evict_page.c @@ -259,6 +259,10 @@ __wt_evict(WT_SESSION_IMPL *session, WT_REF *ref, uint8_t previous_state, uint32 WT_STAT_DATA_INCR(session, cache_eviction_dirty); } + /* Count page evictions in parallel with checkpoint. */ + if (conn->txn_global.checkpoint_running) + WT_STAT_CONN_INCR(session, cache_eviction_pages_in_parallel_with_checkpoint); + if (0) { err: if (!closing) diff --git a/src/third_party/wiredtiger/src/include/stat.h b/src/third_party/wiredtiger/src/include/stat.h index 0cce228d4b5..8b02e97779c 100644 --- a/src/third_party/wiredtiger/src/include/stat.h +++ b/src/third_party/wiredtiger/src/include/stat.h @@ -422,6 +422,7 @@ struct __wt_connection_stats { int64_t cache_write_hs; int64_t cache_pages_inuse; int64_t cache_eviction_app; + int64_t cache_eviction_pages_in_parallel_with_checkpoint; int64_t cache_eviction_pages_queued; int64_t cache_eviction_pages_queued_post_lru; int64_t cache_eviction_pages_queued_urgent; diff --git a/src/third_party/wiredtiger/src/include/wiredtiger.in b/src/third_party/wiredtiger/src/include/wiredtiger.in index 7212eea989e..24fbbeb1f24 100644 --- a/src/third_party/wiredtiger/src/include/wiredtiger.in +++ b/src/third_party/wiredtiger/src/include/wiredtiger.in @@ -4969,823 +4969,825 @@ extern int wiredtiger_extension_terminate(WT_CONNECTION *connection); #define WT_STAT_CONN_CACHE_PAGES_INUSE 1125 /*! cache: pages evicted by application threads */ #define WT_STAT_CONN_CACHE_EVICTION_APP 1126 +/*! cache: pages evicted in parallel with checkpoint */ +#define WT_STAT_CONN_CACHE_EVICTION_PAGES_IN_PARALLEL_WITH_CHECKPOINT 1127 /*! cache: pages queued for eviction */ -#define WT_STAT_CONN_CACHE_EVICTION_PAGES_QUEUED 1127 +#define WT_STAT_CONN_CACHE_EVICTION_PAGES_QUEUED 1128 /*! cache: pages queued for eviction post lru sorting */ -#define WT_STAT_CONN_CACHE_EVICTION_PAGES_QUEUED_POST_LRU 1128 +#define WT_STAT_CONN_CACHE_EVICTION_PAGES_QUEUED_POST_LRU 1129 /*! cache: pages queued for urgent eviction */ -#define WT_STAT_CONN_CACHE_EVICTION_PAGES_QUEUED_URGENT 1129 +#define WT_STAT_CONN_CACHE_EVICTION_PAGES_QUEUED_URGENT 1130 /*! cache: pages queued for urgent eviction during walk */ -#define WT_STAT_CONN_CACHE_EVICTION_PAGES_QUEUED_OLDEST 1130 +#define WT_STAT_CONN_CACHE_EVICTION_PAGES_QUEUED_OLDEST 1131 /*! cache: pages read into cache */ -#define WT_STAT_CONN_CACHE_READ 1131 +#define WT_STAT_CONN_CACHE_READ 1132 /*! cache: pages read into cache after truncate */ -#define WT_STAT_CONN_CACHE_READ_DELETED 1132 +#define WT_STAT_CONN_CACHE_READ_DELETED 1133 /*! cache: pages read into cache after truncate in prepare state */ -#define WT_STAT_CONN_CACHE_READ_DELETED_PREPARED 1133 +#define WT_STAT_CONN_CACHE_READ_DELETED_PREPARED 1134 /*! cache: pages requested from the cache */ -#define WT_STAT_CONN_CACHE_PAGES_REQUESTED 1134 +#define WT_STAT_CONN_CACHE_PAGES_REQUESTED 1135 /*! cache: pages seen by eviction walk */ -#define WT_STAT_CONN_CACHE_EVICTION_PAGES_SEEN 1135 +#define WT_STAT_CONN_CACHE_EVICTION_PAGES_SEEN 1136 /*! cache: pages seen by eviction walk that are already queued */ -#define WT_STAT_CONN_CACHE_EVICTION_PAGES_ALREADY_QUEUED 1136 +#define WT_STAT_CONN_CACHE_EVICTION_PAGES_ALREADY_QUEUED 1137 /*! cache: pages selected for eviction unable to be evicted */ -#define WT_STAT_CONN_CACHE_EVICTION_FAIL 1137 +#define WT_STAT_CONN_CACHE_EVICTION_FAIL 1138 /*! * cache: pages selected for eviction unable to be evicted as the parent * page has overflow items */ -#define WT_STAT_CONN_CACHE_EVICTION_FAIL_PARENT_HAS_OVERFLOW_ITEMS 1138 +#define WT_STAT_CONN_CACHE_EVICTION_FAIL_PARENT_HAS_OVERFLOW_ITEMS 1139 /*! * cache: pages selected for eviction unable to be evicted because of * active children on an internal page */ -#define WT_STAT_CONN_CACHE_EVICTION_FAIL_ACTIVE_CHILDREN_ON_AN_INTERNAL_PAGE 1139 +#define WT_STAT_CONN_CACHE_EVICTION_FAIL_ACTIVE_CHILDREN_ON_AN_INTERNAL_PAGE 1140 /*! * cache: pages selected for eviction unable to be evicted because of * failure in reconciliation */ -#define WT_STAT_CONN_CACHE_EVICTION_FAIL_IN_RECONCILIATION 1140 +#define WT_STAT_CONN_CACHE_EVICTION_FAIL_IN_RECONCILIATION 1141 /*! cache: pages walked for eviction */ -#define WT_STAT_CONN_CACHE_EVICTION_WALK 1141 +#define WT_STAT_CONN_CACHE_EVICTION_WALK 1142 /*! cache: pages written from cache */ -#define WT_STAT_CONN_CACHE_WRITE 1142 +#define WT_STAT_CONN_CACHE_WRITE 1143 /*! cache: pages written requiring in-memory restoration */ -#define WT_STAT_CONN_CACHE_WRITE_RESTORE 1143 +#define WT_STAT_CONN_CACHE_WRITE_RESTORE 1144 /*! cache: percentage overhead */ -#define WT_STAT_CONN_CACHE_OVERHEAD 1144 +#define WT_STAT_CONN_CACHE_OVERHEAD 1145 /*! cache: tracked bytes belonging to internal pages in the cache */ -#define WT_STAT_CONN_CACHE_BYTES_INTERNAL 1145 +#define WT_STAT_CONN_CACHE_BYTES_INTERNAL 1146 /*! cache: tracked bytes belonging to leaf pages in the cache */ -#define WT_STAT_CONN_CACHE_BYTES_LEAF 1146 +#define WT_STAT_CONN_CACHE_BYTES_LEAF 1147 /*! cache: tracked dirty bytes in the cache */ -#define WT_STAT_CONN_CACHE_BYTES_DIRTY 1147 +#define WT_STAT_CONN_CACHE_BYTES_DIRTY 1148 /*! cache: tracked dirty pages in the cache */ -#define WT_STAT_CONN_CACHE_PAGES_DIRTY 1148 +#define WT_STAT_CONN_CACHE_PAGES_DIRTY 1149 /*! cache: unmodified pages evicted */ -#define WT_STAT_CONN_CACHE_EVICTION_CLEAN 1149 +#define WT_STAT_CONN_CACHE_EVICTION_CLEAN 1150 /*! capacity: background fsync file handles considered */ -#define WT_STAT_CONN_FSYNC_ALL_FH_TOTAL 1150 +#define WT_STAT_CONN_FSYNC_ALL_FH_TOTAL 1151 /*! capacity: background fsync file handles synced */ -#define WT_STAT_CONN_FSYNC_ALL_FH 1151 +#define WT_STAT_CONN_FSYNC_ALL_FH 1152 /*! capacity: background fsync time (msecs) */ -#define WT_STAT_CONN_FSYNC_ALL_TIME 1152 +#define WT_STAT_CONN_FSYNC_ALL_TIME 1153 /*! capacity: bytes read */ -#define WT_STAT_CONN_CAPACITY_BYTES_READ 1153 +#define WT_STAT_CONN_CAPACITY_BYTES_READ 1154 /*! capacity: bytes written for checkpoint */ -#define WT_STAT_CONN_CAPACITY_BYTES_CKPT 1154 +#define WT_STAT_CONN_CAPACITY_BYTES_CKPT 1155 /*! capacity: bytes written for eviction */ -#define WT_STAT_CONN_CAPACITY_BYTES_EVICT 1155 +#define WT_STAT_CONN_CAPACITY_BYTES_EVICT 1156 /*! capacity: bytes written for log */ -#define WT_STAT_CONN_CAPACITY_BYTES_LOG 1156 +#define WT_STAT_CONN_CAPACITY_BYTES_LOG 1157 /*! capacity: bytes written total */ -#define WT_STAT_CONN_CAPACITY_BYTES_WRITTEN 1157 +#define WT_STAT_CONN_CAPACITY_BYTES_WRITTEN 1158 /*! capacity: threshold to call fsync */ -#define WT_STAT_CONN_CAPACITY_THRESHOLD 1158 +#define WT_STAT_CONN_CAPACITY_THRESHOLD 1159 /*! capacity: time waiting due to total capacity (usecs) */ -#define WT_STAT_CONN_CAPACITY_TIME_TOTAL 1159 +#define WT_STAT_CONN_CAPACITY_TIME_TOTAL 1160 /*! capacity: time waiting during checkpoint (usecs) */ -#define WT_STAT_CONN_CAPACITY_TIME_CKPT 1160 +#define WT_STAT_CONN_CAPACITY_TIME_CKPT 1161 /*! capacity: time waiting during eviction (usecs) */ -#define WT_STAT_CONN_CAPACITY_TIME_EVICT 1161 +#define WT_STAT_CONN_CAPACITY_TIME_EVICT 1162 /*! capacity: time waiting during logging (usecs) */ -#define WT_STAT_CONN_CAPACITY_TIME_LOG 1162 +#define WT_STAT_CONN_CAPACITY_TIME_LOG 1163 /*! capacity: time waiting during read (usecs) */ -#define WT_STAT_CONN_CAPACITY_TIME_READ 1163 +#define WT_STAT_CONN_CAPACITY_TIME_READ 1164 /*! checkpoint-cleanup: pages added for eviction */ -#define WT_STAT_CONN_CC_PAGES_EVICT 1164 +#define WT_STAT_CONN_CC_PAGES_EVICT 1165 /*! checkpoint-cleanup: pages removed */ -#define WT_STAT_CONN_CC_PAGES_REMOVED 1165 +#define WT_STAT_CONN_CC_PAGES_REMOVED 1166 /*! checkpoint-cleanup: pages skipped during tree walk */ -#define WT_STAT_CONN_CC_PAGES_WALK_SKIPPED 1166 +#define WT_STAT_CONN_CC_PAGES_WALK_SKIPPED 1167 /*! checkpoint-cleanup: pages visited */ -#define WT_STAT_CONN_CC_PAGES_VISITED 1167 +#define WT_STAT_CONN_CC_PAGES_VISITED 1168 /*! connection: auto adjusting condition resets */ -#define WT_STAT_CONN_COND_AUTO_WAIT_RESET 1168 +#define WT_STAT_CONN_COND_AUTO_WAIT_RESET 1169 /*! connection: auto adjusting condition wait calls */ -#define WT_STAT_CONN_COND_AUTO_WAIT 1169 +#define WT_STAT_CONN_COND_AUTO_WAIT 1170 /*! * connection: auto adjusting condition wait raced to update timeout and * skipped updating */ -#define WT_STAT_CONN_COND_AUTO_WAIT_SKIPPED 1170 +#define WT_STAT_CONN_COND_AUTO_WAIT_SKIPPED 1171 /*! connection: detected system time went backwards */ -#define WT_STAT_CONN_TIME_TRAVEL 1171 +#define WT_STAT_CONN_TIME_TRAVEL 1172 /*! connection: files currently open */ -#define WT_STAT_CONN_FILE_OPEN 1172 +#define WT_STAT_CONN_FILE_OPEN 1173 /*! connection: hash bucket array size for data handles */ -#define WT_STAT_CONN_BUCKETS_DH 1173 +#define WT_STAT_CONN_BUCKETS_DH 1174 /*! connection: hash bucket array size general */ -#define WT_STAT_CONN_BUCKETS 1174 +#define WT_STAT_CONN_BUCKETS 1175 /*! connection: memory allocations */ -#define WT_STAT_CONN_MEMORY_ALLOCATION 1175 +#define WT_STAT_CONN_MEMORY_ALLOCATION 1176 /*! connection: memory frees */ -#define WT_STAT_CONN_MEMORY_FREE 1176 +#define WT_STAT_CONN_MEMORY_FREE 1177 /*! connection: memory re-allocations */ -#define WT_STAT_CONN_MEMORY_GROW 1177 +#define WT_STAT_CONN_MEMORY_GROW 1178 /*! connection: pthread mutex condition wait calls */ -#define WT_STAT_CONN_COND_WAIT 1178 +#define WT_STAT_CONN_COND_WAIT 1179 /*! connection: pthread mutex shared lock read-lock calls */ -#define WT_STAT_CONN_RWLOCK_READ 1179 +#define WT_STAT_CONN_RWLOCK_READ 1180 /*! connection: pthread mutex shared lock write-lock calls */ -#define WT_STAT_CONN_RWLOCK_WRITE 1180 +#define WT_STAT_CONN_RWLOCK_WRITE 1181 /*! connection: total fsync I/Os */ -#define WT_STAT_CONN_FSYNC_IO 1181 +#define WT_STAT_CONN_FSYNC_IO 1182 /*! connection: total read I/Os */ -#define WT_STAT_CONN_READ_IO 1182 +#define WT_STAT_CONN_READ_IO 1183 /*! connection: total write I/Os */ -#define WT_STAT_CONN_WRITE_IO 1183 +#define WT_STAT_CONN_WRITE_IO 1184 /*! cursor: Total number of entries skipped by cursor next calls */ -#define WT_STAT_CONN_CURSOR_NEXT_SKIP_TOTAL 1184 +#define WT_STAT_CONN_CURSOR_NEXT_SKIP_TOTAL 1185 /*! cursor: Total number of entries skipped by cursor prev calls */ -#define WT_STAT_CONN_CURSOR_PREV_SKIP_TOTAL 1185 +#define WT_STAT_CONN_CURSOR_PREV_SKIP_TOTAL 1186 /*! * cursor: Total number of entries skipped to position the history store * cursor */ -#define WT_STAT_CONN_CURSOR_SKIP_HS_CUR_POSITION 1186 +#define WT_STAT_CONN_CURSOR_SKIP_HS_CUR_POSITION 1187 /*! cursor: cached cursor count */ -#define WT_STAT_CONN_CURSOR_CACHED_COUNT 1187 +#define WT_STAT_CONN_CURSOR_CACHED_COUNT 1188 /*! cursor: cursor bulk loaded cursor insert calls */ -#define WT_STAT_CONN_CURSOR_INSERT_BULK 1188 +#define WT_STAT_CONN_CURSOR_INSERT_BULK 1189 /*! cursor: cursor close calls that result in cache */ -#define WT_STAT_CONN_CURSOR_CACHE 1189 +#define WT_STAT_CONN_CURSOR_CACHE 1190 /*! cursor: cursor create calls */ -#define WT_STAT_CONN_CURSOR_CREATE 1190 +#define WT_STAT_CONN_CURSOR_CREATE 1191 /*! cursor: cursor insert calls */ -#define WT_STAT_CONN_CURSOR_INSERT 1191 +#define WT_STAT_CONN_CURSOR_INSERT 1192 /*! cursor: cursor insert key and value bytes */ -#define WT_STAT_CONN_CURSOR_INSERT_BYTES 1192 +#define WT_STAT_CONN_CURSOR_INSERT_BYTES 1193 /*! cursor: cursor modify calls */ -#define WT_STAT_CONN_CURSOR_MODIFY 1193 +#define WT_STAT_CONN_CURSOR_MODIFY 1194 /*! cursor: cursor modify key and value bytes affected */ -#define WT_STAT_CONN_CURSOR_MODIFY_BYTES 1194 +#define WT_STAT_CONN_CURSOR_MODIFY_BYTES 1195 /*! cursor: cursor modify value bytes modified */ -#define WT_STAT_CONN_CURSOR_MODIFY_BYTES_TOUCH 1195 +#define WT_STAT_CONN_CURSOR_MODIFY_BYTES_TOUCH 1196 /*! cursor: cursor next calls */ -#define WT_STAT_CONN_CURSOR_NEXT 1196 +#define WT_STAT_CONN_CURSOR_NEXT 1197 /*! * cursor: cursor next calls that skip due to a globally visible history * store tombstone */ -#define WT_STAT_CONN_CURSOR_NEXT_HS_TOMBSTONE 1197 +#define WT_STAT_CONN_CURSOR_NEXT_HS_TOMBSTONE 1198 /*! * cursor: cursor next calls that skip due to a globally visible history * store tombstone in rollback to stable */ -#define WT_STAT_CONN_CURSOR_NEXT_HS_TOMBSTONE_RTS 1198 +#define WT_STAT_CONN_CURSOR_NEXT_HS_TOMBSTONE_RTS 1199 /*! * cursor: cursor next calls that skip greater than or equal to 100 * entries */ -#define WT_STAT_CONN_CURSOR_NEXT_SKIP_GE_100 1199 +#define WT_STAT_CONN_CURSOR_NEXT_SKIP_GE_100 1200 /*! cursor: cursor next calls that skip less than 100 entries */ -#define WT_STAT_CONN_CURSOR_NEXT_SKIP_LT_100 1200 +#define WT_STAT_CONN_CURSOR_NEXT_SKIP_LT_100 1201 /*! cursor: cursor operation restarted */ -#define WT_STAT_CONN_CURSOR_RESTART 1201 +#define WT_STAT_CONN_CURSOR_RESTART 1202 /*! cursor: cursor prev calls */ -#define WT_STAT_CONN_CURSOR_PREV 1202 +#define WT_STAT_CONN_CURSOR_PREV 1203 /*! * cursor: cursor prev calls that skip due to a globally visible history * store tombstone */ -#define WT_STAT_CONN_CURSOR_PREV_HS_TOMBSTONE 1203 +#define WT_STAT_CONN_CURSOR_PREV_HS_TOMBSTONE 1204 /*! * cursor: cursor prev calls that skip due to a globally visible history * store tombstone in rollback to stable */ -#define WT_STAT_CONN_CURSOR_PREV_HS_TOMBSTONE_RTS 1204 +#define WT_STAT_CONN_CURSOR_PREV_HS_TOMBSTONE_RTS 1205 /*! * cursor: cursor prev calls that skip greater than or equal to 100 * entries */ -#define WT_STAT_CONN_CURSOR_PREV_SKIP_GE_100 1205 +#define WT_STAT_CONN_CURSOR_PREV_SKIP_GE_100 1206 /*! cursor: cursor prev calls that skip less than 100 entries */ -#define WT_STAT_CONN_CURSOR_PREV_SKIP_LT_100 1206 +#define WT_STAT_CONN_CURSOR_PREV_SKIP_LT_100 1207 /*! cursor: cursor remove calls */ -#define WT_STAT_CONN_CURSOR_REMOVE 1207 +#define WT_STAT_CONN_CURSOR_REMOVE 1208 /*! cursor: cursor remove key bytes removed */ -#define WT_STAT_CONN_CURSOR_REMOVE_BYTES 1208 +#define WT_STAT_CONN_CURSOR_REMOVE_BYTES 1209 /*! cursor: cursor reserve calls */ -#define WT_STAT_CONN_CURSOR_RESERVE 1209 +#define WT_STAT_CONN_CURSOR_RESERVE 1210 /*! cursor: cursor reset calls */ -#define WT_STAT_CONN_CURSOR_RESET 1210 +#define WT_STAT_CONN_CURSOR_RESET 1211 /*! cursor: cursor search calls */ -#define WT_STAT_CONN_CURSOR_SEARCH 1211 +#define WT_STAT_CONN_CURSOR_SEARCH 1212 /*! cursor: cursor search history store calls */ -#define WT_STAT_CONN_CURSOR_SEARCH_HS 1212 +#define WT_STAT_CONN_CURSOR_SEARCH_HS 1213 /*! cursor: cursor search near calls */ -#define WT_STAT_CONN_CURSOR_SEARCH_NEAR 1213 +#define WT_STAT_CONN_CURSOR_SEARCH_NEAR 1214 /*! cursor: cursor sweep buckets */ -#define WT_STAT_CONN_CURSOR_SWEEP_BUCKETS 1214 +#define WT_STAT_CONN_CURSOR_SWEEP_BUCKETS 1215 /*! cursor: cursor sweep cursors closed */ -#define WT_STAT_CONN_CURSOR_SWEEP_CLOSED 1215 +#define WT_STAT_CONN_CURSOR_SWEEP_CLOSED 1216 /*! cursor: cursor sweep cursors examined */ -#define WT_STAT_CONN_CURSOR_SWEEP_EXAMINED 1216 +#define WT_STAT_CONN_CURSOR_SWEEP_EXAMINED 1217 /*! cursor: cursor sweeps */ -#define WT_STAT_CONN_CURSOR_SWEEP 1217 +#define WT_STAT_CONN_CURSOR_SWEEP 1218 /*! cursor: cursor truncate calls */ -#define WT_STAT_CONN_CURSOR_TRUNCATE 1218 +#define WT_STAT_CONN_CURSOR_TRUNCATE 1219 /*! cursor: cursor update calls */ -#define WT_STAT_CONN_CURSOR_UPDATE 1219 +#define WT_STAT_CONN_CURSOR_UPDATE 1220 /*! cursor: cursor update key and value bytes */ -#define WT_STAT_CONN_CURSOR_UPDATE_BYTES 1220 +#define WT_STAT_CONN_CURSOR_UPDATE_BYTES 1221 /*! cursor: cursor update value size change */ -#define WT_STAT_CONN_CURSOR_UPDATE_BYTES_CHANGED 1221 +#define WT_STAT_CONN_CURSOR_UPDATE_BYTES_CHANGED 1222 /*! cursor: cursors reused from cache */ -#define WT_STAT_CONN_CURSOR_REOPEN 1222 +#define WT_STAT_CONN_CURSOR_REOPEN 1223 /*! cursor: open cursor count */ -#define WT_STAT_CONN_CURSOR_OPEN_COUNT 1223 +#define WT_STAT_CONN_CURSOR_OPEN_COUNT 1224 /*! data-handle: connection data handle size */ -#define WT_STAT_CONN_DH_CONN_HANDLE_SIZE 1224 +#define WT_STAT_CONN_DH_CONN_HANDLE_SIZE 1225 /*! data-handle: connection data handles currently active */ -#define WT_STAT_CONN_DH_CONN_HANDLE_COUNT 1225 +#define WT_STAT_CONN_DH_CONN_HANDLE_COUNT 1226 /*! data-handle: connection sweep candidate became referenced */ -#define WT_STAT_CONN_DH_SWEEP_REF 1226 +#define WT_STAT_CONN_DH_SWEEP_REF 1227 /*! data-handle: connection sweep dhandles closed */ -#define WT_STAT_CONN_DH_SWEEP_CLOSE 1227 +#define WT_STAT_CONN_DH_SWEEP_CLOSE 1228 /*! data-handle: connection sweep dhandles removed from hash list */ -#define WT_STAT_CONN_DH_SWEEP_REMOVE 1228 +#define WT_STAT_CONN_DH_SWEEP_REMOVE 1229 /*! data-handle: connection sweep time-of-death sets */ -#define WT_STAT_CONN_DH_SWEEP_TOD 1229 +#define WT_STAT_CONN_DH_SWEEP_TOD 1230 /*! data-handle: connection sweeps */ -#define WT_STAT_CONN_DH_SWEEPS 1230 +#define WT_STAT_CONN_DH_SWEEPS 1231 /*! data-handle: session dhandles swept */ -#define WT_STAT_CONN_DH_SESSION_HANDLES 1231 +#define WT_STAT_CONN_DH_SESSION_HANDLES 1232 /*! data-handle: session sweep attempts */ -#define WT_STAT_CONN_DH_SESSION_SWEEPS 1232 +#define WT_STAT_CONN_DH_SESSION_SWEEPS 1233 /*! lock: checkpoint lock acquisitions */ -#define WT_STAT_CONN_LOCK_CHECKPOINT_COUNT 1233 +#define WT_STAT_CONN_LOCK_CHECKPOINT_COUNT 1234 /*! lock: checkpoint lock application thread wait time (usecs) */ -#define WT_STAT_CONN_LOCK_CHECKPOINT_WAIT_APPLICATION 1234 +#define WT_STAT_CONN_LOCK_CHECKPOINT_WAIT_APPLICATION 1235 /*! lock: checkpoint lock internal thread wait time (usecs) */ -#define WT_STAT_CONN_LOCK_CHECKPOINT_WAIT_INTERNAL 1235 +#define WT_STAT_CONN_LOCK_CHECKPOINT_WAIT_INTERNAL 1236 /*! lock: dhandle lock application thread time waiting (usecs) */ -#define WT_STAT_CONN_LOCK_DHANDLE_WAIT_APPLICATION 1236 +#define WT_STAT_CONN_LOCK_DHANDLE_WAIT_APPLICATION 1237 /*! lock: dhandle lock internal thread time waiting (usecs) */ -#define WT_STAT_CONN_LOCK_DHANDLE_WAIT_INTERNAL 1237 +#define WT_STAT_CONN_LOCK_DHANDLE_WAIT_INTERNAL 1238 /*! lock: dhandle read lock acquisitions */ -#define WT_STAT_CONN_LOCK_DHANDLE_READ_COUNT 1238 +#define WT_STAT_CONN_LOCK_DHANDLE_READ_COUNT 1239 /*! lock: dhandle write lock acquisitions */ -#define WT_STAT_CONN_LOCK_DHANDLE_WRITE_COUNT 1239 +#define WT_STAT_CONN_LOCK_DHANDLE_WRITE_COUNT 1240 /*! * lock: durable timestamp queue lock application thread time waiting * (usecs) */ -#define WT_STAT_CONN_LOCK_DURABLE_TIMESTAMP_WAIT_APPLICATION 1240 +#define WT_STAT_CONN_LOCK_DURABLE_TIMESTAMP_WAIT_APPLICATION 1241 /*! * lock: durable timestamp queue lock internal thread time waiting * (usecs) */ -#define WT_STAT_CONN_LOCK_DURABLE_TIMESTAMP_WAIT_INTERNAL 1241 +#define WT_STAT_CONN_LOCK_DURABLE_TIMESTAMP_WAIT_INTERNAL 1242 /*! lock: durable timestamp queue read lock acquisitions */ -#define WT_STAT_CONN_LOCK_DURABLE_TIMESTAMP_READ_COUNT 1242 +#define WT_STAT_CONN_LOCK_DURABLE_TIMESTAMP_READ_COUNT 1243 /*! lock: durable timestamp queue write lock acquisitions */ -#define WT_STAT_CONN_LOCK_DURABLE_TIMESTAMP_WRITE_COUNT 1243 +#define WT_STAT_CONN_LOCK_DURABLE_TIMESTAMP_WRITE_COUNT 1244 /*! lock: metadata lock acquisitions */ -#define WT_STAT_CONN_LOCK_METADATA_COUNT 1244 +#define WT_STAT_CONN_LOCK_METADATA_COUNT 1245 /*! lock: metadata lock application thread wait time (usecs) */ -#define WT_STAT_CONN_LOCK_METADATA_WAIT_APPLICATION 1245 +#define WT_STAT_CONN_LOCK_METADATA_WAIT_APPLICATION 1246 /*! lock: metadata lock internal thread wait time (usecs) */ -#define WT_STAT_CONN_LOCK_METADATA_WAIT_INTERNAL 1246 +#define WT_STAT_CONN_LOCK_METADATA_WAIT_INTERNAL 1247 /*! * lock: read timestamp queue lock application thread time waiting * (usecs) */ -#define WT_STAT_CONN_LOCK_READ_TIMESTAMP_WAIT_APPLICATION 1247 +#define WT_STAT_CONN_LOCK_READ_TIMESTAMP_WAIT_APPLICATION 1248 /*! lock: read timestamp queue lock internal thread time waiting (usecs) */ -#define WT_STAT_CONN_LOCK_READ_TIMESTAMP_WAIT_INTERNAL 1248 +#define WT_STAT_CONN_LOCK_READ_TIMESTAMP_WAIT_INTERNAL 1249 /*! lock: read timestamp queue read lock acquisitions */ -#define WT_STAT_CONN_LOCK_READ_TIMESTAMP_READ_COUNT 1249 +#define WT_STAT_CONN_LOCK_READ_TIMESTAMP_READ_COUNT 1250 /*! lock: read timestamp queue write lock acquisitions */ -#define WT_STAT_CONN_LOCK_READ_TIMESTAMP_WRITE_COUNT 1250 +#define WT_STAT_CONN_LOCK_READ_TIMESTAMP_WRITE_COUNT 1251 /*! lock: schema lock acquisitions */ -#define WT_STAT_CONN_LOCK_SCHEMA_COUNT 1251 +#define WT_STAT_CONN_LOCK_SCHEMA_COUNT 1252 /*! lock: schema lock application thread wait time (usecs) */ -#define WT_STAT_CONN_LOCK_SCHEMA_WAIT_APPLICATION 1252 +#define WT_STAT_CONN_LOCK_SCHEMA_WAIT_APPLICATION 1253 /*! lock: schema lock internal thread wait time (usecs) */ -#define WT_STAT_CONN_LOCK_SCHEMA_WAIT_INTERNAL 1253 +#define WT_STAT_CONN_LOCK_SCHEMA_WAIT_INTERNAL 1254 /*! * lock: table lock application thread time waiting for the table lock * (usecs) */ -#define WT_STAT_CONN_LOCK_TABLE_WAIT_APPLICATION 1254 +#define WT_STAT_CONN_LOCK_TABLE_WAIT_APPLICATION 1255 /*! * lock: table lock internal thread time waiting for the table lock * (usecs) */ -#define WT_STAT_CONN_LOCK_TABLE_WAIT_INTERNAL 1255 +#define WT_STAT_CONN_LOCK_TABLE_WAIT_INTERNAL 1256 /*! lock: table read lock acquisitions */ -#define WT_STAT_CONN_LOCK_TABLE_READ_COUNT 1256 +#define WT_STAT_CONN_LOCK_TABLE_READ_COUNT 1257 /*! lock: table write lock acquisitions */ -#define WT_STAT_CONN_LOCK_TABLE_WRITE_COUNT 1257 +#define WT_STAT_CONN_LOCK_TABLE_WRITE_COUNT 1258 /*! lock: txn global lock application thread time waiting (usecs) */ -#define WT_STAT_CONN_LOCK_TXN_GLOBAL_WAIT_APPLICATION 1258 +#define WT_STAT_CONN_LOCK_TXN_GLOBAL_WAIT_APPLICATION 1259 /*! lock: txn global lock internal thread time waiting (usecs) */ -#define WT_STAT_CONN_LOCK_TXN_GLOBAL_WAIT_INTERNAL 1259 +#define WT_STAT_CONN_LOCK_TXN_GLOBAL_WAIT_INTERNAL 1260 /*! lock: txn global read lock acquisitions */ -#define WT_STAT_CONN_LOCK_TXN_GLOBAL_READ_COUNT 1260 +#define WT_STAT_CONN_LOCK_TXN_GLOBAL_READ_COUNT 1261 /*! lock: txn global write lock acquisitions */ -#define WT_STAT_CONN_LOCK_TXN_GLOBAL_WRITE_COUNT 1261 +#define WT_STAT_CONN_LOCK_TXN_GLOBAL_WRITE_COUNT 1262 /*! log: busy returns attempting to switch slots */ -#define WT_STAT_CONN_LOG_SLOT_SWITCH_BUSY 1262 +#define WT_STAT_CONN_LOG_SLOT_SWITCH_BUSY 1263 /*! log: force archive time sleeping (usecs) */ -#define WT_STAT_CONN_LOG_FORCE_ARCHIVE_SLEEP 1263 +#define WT_STAT_CONN_LOG_FORCE_ARCHIVE_SLEEP 1264 /*! log: log bytes of payload data */ -#define WT_STAT_CONN_LOG_BYTES_PAYLOAD 1264 +#define WT_STAT_CONN_LOG_BYTES_PAYLOAD 1265 /*! log: log bytes written */ -#define WT_STAT_CONN_LOG_BYTES_WRITTEN 1265 +#define WT_STAT_CONN_LOG_BYTES_WRITTEN 1266 /*! log: log files manually zero-filled */ -#define WT_STAT_CONN_LOG_ZERO_FILLS 1266 +#define WT_STAT_CONN_LOG_ZERO_FILLS 1267 /*! log: log flush operations */ -#define WT_STAT_CONN_LOG_FLUSH 1267 +#define WT_STAT_CONN_LOG_FLUSH 1268 /*! log: log force write operations */ -#define WT_STAT_CONN_LOG_FORCE_WRITE 1268 +#define WT_STAT_CONN_LOG_FORCE_WRITE 1269 /*! log: log force write operations skipped */ -#define WT_STAT_CONN_LOG_FORCE_WRITE_SKIP 1269 +#define WT_STAT_CONN_LOG_FORCE_WRITE_SKIP 1270 /*! log: log records compressed */ -#define WT_STAT_CONN_LOG_COMPRESS_WRITES 1270 +#define WT_STAT_CONN_LOG_COMPRESS_WRITES 1271 /*! log: log records not compressed */ -#define WT_STAT_CONN_LOG_COMPRESS_WRITE_FAILS 1271 +#define WT_STAT_CONN_LOG_COMPRESS_WRITE_FAILS 1272 /*! log: log records too small to compress */ -#define WT_STAT_CONN_LOG_COMPRESS_SMALL 1272 +#define WT_STAT_CONN_LOG_COMPRESS_SMALL 1273 /*! log: log release advances write LSN */ -#define WT_STAT_CONN_LOG_RELEASE_WRITE_LSN 1273 +#define WT_STAT_CONN_LOG_RELEASE_WRITE_LSN 1274 /*! log: log scan operations */ -#define WT_STAT_CONN_LOG_SCANS 1274 +#define WT_STAT_CONN_LOG_SCANS 1275 /*! log: log scan records requiring two reads */ -#define WT_STAT_CONN_LOG_SCAN_REREADS 1275 +#define WT_STAT_CONN_LOG_SCAN_REREADS 1276 /*! log: log server thread advances write LSN */ -#define WT_STAT_CONN_LOG_WRITE_LSN 1276 +#define WT_STAT_CONN_LOG_WRITE_LSN 1277 /*! log: log server thread write LSN walk skipped */ -#define WT_STAT_CONN_LOG_WRITE_LSN_SKIP 1277 +#define WT_STAT_CONN_LOG_WRITE_LSN_SKIP 1278 /*! log: log sync operations */ -#define WT_STAT_CONN_LOG_SYNC 1278 +#define WT_STAT_CONN_LOG_SYNC 1279 /*! log: log sync time duration (usecs) */ -#define WT_STAT_CONN_LOG_SYNC_DURATION 1279 +#define WT_STAT_CONN_LOG_SYNC_DURATION 1280 /*! log: log sync_dir operations */ -#define WT_STAT_CONN_LOG_SYNC_DIR 1280 +#define WT_STAT_CONN_LOG_SYNC_DIR 1281 /*! log: log sync_dir time duration (usecs) */ -#define WT_STAT_CONN_LOG_SYNC_DIR_DURATION 1281 +#define WT_STAT_CONN_LOG_SYNC_DIR_DURATION 1282 /*! log: log write operations */ -#define WT_STAT_CONN_LOG_WRITES 1282 +#define WT_STAT_CONN_LOG_WRITES 1283 /*! log: logging bytes consolidated */ -#define WT_STAT_CONN_LOG_SLOT_CONSOLIDATED 1283 +#define WT_STAT_CONN_LOG_SLOT_CONSOLIDATED 1284 /*! log: maximum log file size */ -#define WT_STAT_CONN_LOG_MAX_FILESIZE 1284 +#define WT_STAT_CONN_LOG_MAX_FILESIZE 1285 /*! log: number of pre-allocated log files to create */ -#define WT_STAT_CONN_LOG_PREALLOC_MAX 1285 +#define WT_STAT_CONN_LOG_PREALLOC_MAX 1286 /*! log: pre-allocated log files not ready and missed */ -#define WT_STAT_CONN_LOG_PREALLOC_MISSED 1286 +#define WT_STAT_CONN_LOG_PREALLOC_MISSED 1287 /*! log: pre-allocated log files prepared */ -#define WT_STAT_CONN_LOG_PREALLOC_FILES 1287 +#define WT_STAT_CONN_LOG_PREALLOC_FILES 1288 /*! log: pre-allocated log files used */ -#define WT_STAT_CONN_LOG_PREALLOC_USED 1288 +#define WT_STAT_CONN_LOG_PREALLOC_USED 1289 /*! log: records processed by log scan */ -#define WT_STAT_CONN_LOG_SCAN_RECORDS 1289 +#define WT_STAT_CONN_LOG_SCAN_RECORDS 1290 /*! log: slot close lost race */ -#define WT_STAT_CONN_LOG_SLOT_CLOSE_RACE 1290 +#define WT_STAT_CONN_LOG_SLOT_CLOSE_RACE 1291 /*! log: slot close unbuffered waits */ -#define WT_STAT_CONN_LOG_SLOT_CLOSE_UNBUF 1291 +#define WT_STAT_CONN_LOG_SLOT_CLOSE_UNBUF 1292 /*! log: slot closures */ -#define WT_STAT_CONN_LOG_SLOT_CLOSES 1292 +#define WT_STAT_CONN_LOG_SLOT_CLOSES 1293 /*! log: slot join atomic update races */ -#define WT_STAT_CONN_LOG_SLOT_RACES 1293 +#define WT_STAT_CONN_LOG_SLOT_RACES 1294 /*! log: slot join calls atomic updates raced */ -#define WT_STAT_CONN_LOG_SLOT_YIELD_RACE 1294 +#define WT_STAT_CONN_LOG_SLOT_YIELD_RACE 1295 /*! log: slot join calls did not yield */ -#define WT_STAT_CONN_LOG_SLOT_IMMEDIATE 1295 +#define WT_STAT_CONN_LOG_SLOT_IMMEDIATE 1296 /*! log: slot join calls found active slot closed */ -#define WT_STAT_CONN_LOG_SLOT_YIELD_CLOSE 1296 +#define WT_STAT_CONN_LOG_SLOT_YIELD_CLOSE 1297 /*! log: slot join calls slept */ -#define WT_STAT_CONN_LOG_SLOT_YIELD_SLEEP 1297 +#define WT_STAT_CONN_LOG_SLOT_YIELD_SLEEP 1298 /*! log: slot join calls yielded */ -#define WT_STAT_CONN_LOG_SLOT_YIELD 1298 +#define WT_STAT_CONN_LOG_SLOT_YIELD 1299 /*! log: slot join found active slot closed */ -#define WT_STAT_CONN_LOG_SLOT_ACTIVE_CLOSED 1299 +#define WT_STAT_CONN_LOG_SLOT_ACTIVE_CLOSED 1300 /*! log: slot joins yield time (usecs) */ -#define WT_STAT_CONN_LOG_SLOT_YIELD_DURATION 1300 +#define WT_STAT_CONN_LOG_SLOT_YIELD_DURATION 1301 /*! log: slot transitions unable to find free slot */ -#define WT_STAT_CONN_LOG_SLOT_NO_FREE_SLOTS 1301 +#define WT_STAT_CONN_LOG_SLOT_NO_FREE_SLOTS 1302 /*! log: slot unbuffered writes */ -#define WT_STAT_CONN_LOG_SLOT_UNBUFFERED 1302 +#define WT_STAT_CONN_LOG_SLOT_UNBUFFERED 1303 /*! log: total in-memory size of compressed records */ -#define WT_STAT_CONN_LOG_COMPRESS_MEM 1303 +#define WT_STAT_CONN_LOG_COMPRESS_MEM 1304 /*! log: total log buffer size */ -#define WT_STAT_CONN_LOG_BUFFER_SIZE 1304 +#define WT_STAT_CONN_LOG_BUFFER_SIZE 1305 /*! log: total size of compressed records */ -#define WT_STAT_CONN_LOG_COMPRESS_LEN 1305 +#define WT_STAT_CONN_LOG_COMPRESS_LEN 1306 /*! log: written slots coalesced */ -#define WT_STAT_CONN_LOG_SLOT_COALESCED 1306 +#define WT_STAT_CONN_LOG_SLOT_COALESCED 1307 /*! log: yields waiting for previous log file close */ -#define WT_STAT_CONN_LOG_CLOSE_YIELDS 1307 +#define WT_STAT_CONN_LOG_CLOSE_YIELDS 1308 /*! perf: file system read latency histogram (bucket 1) - 10-49ms */ -#define WT_STAT_CONN_PERF_HIST_FSREAD_LATENCY_LT50 1308 +#define WT_STAT_CONN_PERF_HIST_FSREAD_LATENCY_LT50 1309 /*! perf: file system read latency histogram (bucket 2) - 50-99ms */ -#define WT_STAT_CONN_PERF_HIST_FSREAD_LATENCY_LT100 1309 +#define WT_STAT_CONN_PERF_HIST_FSREAD_LATENCY_LT100 1310 /*! perf: file system read latency histogram (bucket 3) - 100-249ms */ -#define WT_STAT_CONN_PERF_HIST_FSREAD_LATENCY_LT250 1310 +#define WT_STAT_CONN_PERF_HIST_FSREAD_LATENCY_LT250 1311 /*! perf: file system read latency histogram (bucket 4) - 250-499ms */ -#define WT_STAT_CONN_PERF_HIST_FSREAD_LATENCY_LT500 1311 +#define WT_STAT_CONN_PERF_HIST_FSREAD_LATENCY_LT500 1312 /*! perf: file system read latency histogram (bucket 5) - 500-999ms */ -#define WT_STAT_CONN_PERF_HIST_FSREAD_LATENCY_LT1000 1312 +#define WT_STAT_CONN_PERF_HIST_FSREAD_LATENCY_LT1000 1313 /*! perf: file system read latency histogram (bucket 6) - 1000ms+ */ -#define WT_STAT_CONN_PERF_HIST_FSREAD_LATENCY_GT1000 1313 +#define WT_STAT_CONN_PERF_HIST_FSREAD_LATENCY_GT1000 1314 /*! perf: file system write latency histogram (bucket 1) - 10-49ms */ -#define WT_STAT_CONN_PERF_HIST_FSWRITE_LATENCY_LT50 1314 +#define WT_STAT_CONN_PERF_HIST_FSWRITE_LATENCY_LT50 1315 /*! perf: file system write latency histogram (bucket 2) - 50-99ms */ -#define WT_STAT_CONN_PERF_HIST_FSWRITE_LATENCY_LT100 1315 +#define WT_STAT_CONN_PERF_HIST_FSWRITE_LATENCY_LT100 1316 /*! perf: file system write latency histogram (bucket 3) - 100-249ms */ -#define WT_STAT_CONN_PERF_HIST_FSWRITE_LATENCY_LT250 1316 +#define WT_STAT_CONN_PERF_HIST_FSWRITE_LATENCY_LT250 1317 /*! perf: file system write latency histogram (bucket 4) - 250-499ms */ -#define WT_STAT_CONN_PERF_HIST_FSWRITE_LATENCY_LT500 1317 +#define WT_STAT_CONN_PERF_HIST_FSWRITE_LATENCY_LT500 1318 /*! perf: file system write latency histogram (bucket 5) - 500-999ms */ -#define WT_STAT_CONN_PERF_HIST_FSWRITE_LATENCY_LT1000 1318 +#define WT_STAT_CONN_PERF_HIST_FSWRITE_LATENCY_LT1000 1319 /*! perf: file system write latency histogram (bucket 6) - 1000ms+ */ -#define WT_STAT_CONN_PERF_HIST_FSWRITE_LATENCY_GT1000 1319 +#define WT_STAT_CONN_PERF_HIST_FSWRITE_LATENCY_GT1000 1320 /*! perf: operation read latency histogram (bucket 1) - 100-249us */ -#define WT_STAT_CONN_PERF_HIST_OPREAD_LATENCY_LT250 1320 +#define WT_STAT_CONN_PERF_HIST_OPREAD_LATENCY_LT250 1321 /*! perf: operation read latency histogram (bucket 2) - 250-499us */ -#define WT_STAT_CONN_PERF_HIST_OPREAD_LATENCY_LT500 1321 +#define WT_STAT_CONN_PERF_HIST_OPREAD_LATENCY_LT500 1322 /*! perf: operation read latency histogram (bucket 3) - 500-999us */ -#define WT_STAT_CONN_PERF_HIST_OPREAD_LATENCY_LT1000 1322 +#define WT_STAT_CONN_PERF_HIST_OPREAD_LATENCY_LT1000 1323 /*! perf: operation read latency histogram (bucket 4) - 1000-9999us */ -#define WT_STAT_CONN_PERF_HIST_OPREAD_LATENCY_LT10000 1323 +#define WT_STAT_CONN_PERF_HIST_OPREAD_LATENCY_LT10000 1324 /*! perf: operation read latency histogram (bucket 5) - 10000us+ */ -#define WT_STAT_CONN_PERF_HIST_OPREAD_LATENCY_GT10000 1324 +#define WT_STAT_CONN_PERF_HIST_OPREAD_LATENCY_GT10000 1325 /*! perf: operation write latency histogram (bucket 1) - 100-249us */ -#define WT_STAT_CONN_PERF_HIST_OPWRITE_LATENCY_LT250 1325 +#define WT_STAT_CONN_PERF_HIST_OPWRITE_LATENCY_LT250 1326 /*! perf: operation write latency histogram (bucket 2) - 250-499us */ -#define WT_STAT_CONN_PERF_HIST_OPWRITE_LATENCY_LT500 1326 +#define WT_STAT_CONN_PERF_HIST_OPWRITE_LATENCY_LT500 1327 /*! perf: operation write latency histogram (bucket 3) - 500-999us */ -#define WT_STAT_CONN_PERF_HIST_OPWRITE_LATENCY_LT1000 1327 +#define WT_STAT_CONN_PERF_HIST_OPWRITE_LATENCY_LT1000 1328 /*! perf: operation write latency histogram (bucket 4) - 1000-9999us */ -#define WT_STAT_CONN_PERF_HIST_OPWRITE_LATENCY_LT10000 1328 +#define WT_STAT_CONN_PERF_HIST_OPWRITE_LATENCY_LT10000 1329 /*! perf: operation write latency histogram (bucket 5) - 10000us+ */ -#define WT_STAT_CONN_PERF_HIST_OPWRITE_LATENCY_GT10000 1329 +#define WT_STAT_CONN_PERF_HIST_OPWRITE_LATENCY_GT10000 1330 /*! reconciliation: approximate byte size of timestamps in pages written */ -#define WT_STAT_CONN_REC_TIME_WINDOW_BYTES_TS 1330 +#define WT_STAT_CONN_REC_TIME_WINDOW_BYTES_TS 1331 /*! * reconciliation: approximate byte size of transaction IDs in pages * written */ -#define WT_STAT_CONN_REC_TIME_WINDOW_BYTES_TXN 1331 +#define WT_STAT_CONN_REC_TIME_WINDOW_BYTES_TXN 1332 /*! reconciliation: fast-path pages deleted */ -#define WT_STAT_CONN_REC_PAGE_DELETE_FAST 1332 +#define WT_STAT_CONN_REC_PAGE_DELETE_FAST 1333 /*! reconciliation: maximum seconds spent in a reconciliation call */ -#define WT_STAT_CONN_REC_MAXIMUM_SECONDS 1333 +#define WT_STAT_CONN_REC_MAXIMUM_SECONDS 1334 /*! reconciliation: page reconciliation calls */ -#define WT_STAT_CONN_REC_PAGES 1334 +#define WT_STAT_CONN_REC_PAGES 1335 /*! reconciliation: page reconciliation calls for eviction */ -#define WT_STAT_CONN_REC_PAGES_EVICTION 1335 +#define WT_STAT_CONN_REC_PAGES_EVICTION 1336 /*! * reconciliation: page reconciliation calls that resulted in values with * prepared transaction metadata */ -#define WT_STAT_CONN_REC_PAGES_WITH_PREPARE 1336 +#define WT_STAT_CONN_REC_PAGES_WITH_PREPARE 1337 /*! * reconciliation: page reconciliation calls that resulted in values with * timestamps */ -#define WT_STAT_CONN_REC_PAGES_WITH_TS 1337 +#define WT_STAT_CONN_REC_PAGES_WITH_TS 1338 /*! * reconciliation: page reconciliation calls that resulted in values with * transaction ids */ -#define WT_STAT_CONN_REC_PAGES_WITH_TXN 1338 +#define WT_STAT_CONN_REC_PAGES_WITH_TXN 1339 /*! reconciliation: pages deleted */ -#define WT_STAT_CONN_REC_PAGE_DELETE 1339 +#define WT_STAT_CONN_REC_PAGE_DELETE 1340 /*! * reconciliation: pages written including an aggregated newest start * durable timestamp */ -#define WT_STAT_CONN_REC_TIME_AGGR_NEWEST_START_DURABLE_TS 1340 +#define WT_STAT_CONN_REC_TIME_AGGR_NEWEST_START_DURABLE_TS 1341 /*! * reconciliation: pages written including an aggregated newest stop * durable timestamp */ -#define WT_STAT_CONN_REC_TIME_AGGR_NEWEST_STOP_DURABLE_TS 1341 +#define WT_STAT_CONN_REC_TIME_AGGR_NEWEST_STOP_DURABLE_TS 1342 /*! * reconciliation: pages written including an aggregated newest stop * timestamp */ -#define WT_STAT_CONN_REC_TIME_AGGR_NEWEST_STOP_TS 1342 +#define WT_STAT_CONN_REC_TIME_AGGR_NEWEST_STOP_TS 1343 /*! * reconciliation: pages written including an aggregated newest stop * transaction ID */ -#define WT_STAT_CONN_REC_TIME_AGGR_NEWEST_STOP_TXN 1343 +#define WT_STAT_CONN_REC_TIME_AGGR_NEWEST_STOP_TXN 1344 /*! * reconciliation: pages written including an aggregated newest * transaction ID */ -#define WT_STAT_CONN_REC_TIME_AGGR_NEWEST_TXN 1344 +#define WT_STAT_CONN_REC_TIME_AGGR_NEWEST_TXN 1345 /*! * reconciliation: pages written including an aggregated oldest start * timestamp */ -#define WT_STAT_CONN_REC_TIME_AGGR_OLDEST_START_TS 1345 +#define WT_STAT_CONN_REC_TIME_AGGR_OLDEST_START_TS 1346 /*! reconciliation: pages written including an aggregated prepare */ -#define WT_STAT_CONN_REC_TIME_AGGR_PREPARED 1346 +#define WT_STAT_CONN_REC_TIME_AGGR_PREPARED 1347 /*! reconciliation: pages written including at least one prepare state */ -#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_PREPARED 1347 +#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_PREPARED 1348 /*! * reconciliation: pages written including at least one start durable * timestamp */ -#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_DURABLE_START_TS 1348 +#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_DURABLE_START_TS 1349 /*! reconciliation: pages written including at least one start timestamp */ -#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_START_TS 1349 +#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_START_TS 1350 /*! * reconciliation: pages written including at least one start transaction * ID */ -#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_START_TXN 1350 +#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_START_TXN 1351 /*! * reconciliation: pages written including at least one stop durable * timestamp */ -#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_DURABLE_STOP_TS 1351 +#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_DURABLE_STOP_TS 1352 /*! reconciliation: pages written including at least one stop timestamp */ -#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_STOP_TS 1352 +#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_STOP_TS 1353 /*! * reconciliation: pages written including at least one stop transaction * ID */ -#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_STOP_TXN 1353 +#define WT_STAT_CONN_REC_TIME_WINDOW_PAGES_STOP_TXN 1354 /*! reconciliation: records written including a prepare state */ -#define WT_STAT_CONN_REC_TIME_WINDOW_PREPARED 1354 +#define WT_STAT_CONN_REC_TIME_WINDOW_PREPARED 1355 /*! reconciliation: records written including a start durable timestamp */ -#define WT_STAT_CONN_REC_TIME_WINDOW_DURABLE_START_TS 1355 +#define WT_STAT_CONN_REC_TIME_WINDOW_DURABLE_START_TS 1356 /*! reconciliation: records written including a start timestamp */ -#define WT_STAT_CONN_REC_TIME_WINDOW_START_TS 1356 +#define WT_STAT_CONN_REC_TIME_WINDOW_START_TS 1357 /*! reconciliation: records written including a start transaction ID */ -#define WT_STAT_CONN_REC_TIME_WINDOW_START_TXN 1357 +#define WT_STAT_CONN_REC_TIME_WINDOW_START_TXN 1358 /*! reconciliation: records written including a stop durable timestamp */ -#define WT_STAT_CONN_REC_TIME_WINDOW_DURABLE_STOP_TS 1358 +#define WT_STAT_CONN_REC_TIME_WINDOW_DURABLE_STOP_TS 1359 /*! reconciliation: records written including a stop timestamp */ -#define WT_STAT_CONN_REC_TIME_WINDOW_STOP_TS 1359 +#define WT_STAT_CONN_REC_TIME_WINDOW_STOP_TS 1360 /*! reconciliation: records written including a stop transaction ID */ -#define WT_STAT_CONN_REC_TIME_WINDOW_STOP_TXN 1360 +#define WT_STAT_CONN_REC_TIME_WINDOW_STOP_TXN 1361 /*! reconciliation: split bytes currently awaiting free */ -#define WT_STAT_CONN_REC_SPLIT_STASHED_BYTES 1361 +#define WT_STAT_CONN_REC_SPLIT_STASHED_BYTES 1362 /*! reconciliation: split objects currently awaiting free */ -#define WT_STAT_CONN_REC_SPLIT_STASHED_OBJECTS 1362 +#define WT_STAT_CONN_REC_SPLIT_STASHED_OBJECTS 1363 /*! session: open session count */ -#define WT_STAT_CONN_SESSION_OPEN 1363 +#define WT_STAT_CONN_SESSION_OPEN 1364 /*! session: session query timestamp calls */ -#define WT_STAT_CONN_SESSION_QUERY_TS 1364 +#define WT_STAT_CONN_SESSION_QUERY_TS 1365 /*! session: table alter failed calls */ -#define WT_STAT_CONN_SESSION_TABLE_ALTER_FAIL 1365 +#define WT_STAT_CONN_SESSION_TABLE_ALTER_FAIL 1366 /*! session: table alter successful calls */ -#define WT_STAT_CONN_SESSION_TABLE_ALTER_SUCCESS 1366 +#define WT_STAT_CONN_SESSION_TABLE_ALTER_SUCCESS 1367 /*! session: table alter unchanged and skipped */ -#define WT_STAT_CONN_SESSION_TABLE_ALTER_SKIP 1367 +#define WT_STAT_CONN_SESSION_TABLE_ALTER_SKIP 1368 /*! session: table compact failed calls */ -#define WT_STAT_CONN_SESSION_TABLE_COMPACT_FAIL 1368 +#define WT_STAT_CONN_SESSION_TABLE_COMPACT_FAIL 1369 /*! session: table compact successful calls */ -#define WT_STAT_CONN_SESSION_TABLE_COMPACT_SUCCESS 1369 +#define WT_STAT_CONN_SESSION_TABLE_COMPACT_SUCCESS 1370 /*! session: table create failed calls */ -#define WT_STAT_CONN_SESSION_TABLE_CREATE_FAIL 1370 +#define WT_STAT_CONN_SESSION_TABLE_CREATE_FAIL 1371 /*! session: table create successful calls */ -#define WT_STAT_CONN_SESSION_TABLE_CREATE_SUCCESS 1371 +#define WT_STAT_CONN_SESSION_TABLE_CREATE_SUCCESS 1372 /*! session: table drop failed calls */ -#define WT_STAT_CONN_SESSION_TABLE_DROP_FAIL 1372 +#define WT_STAT_CONN_SESSION_TABLE_DROP_FAIL 1373 /*! session: table drop successful calls */ -#define WT_STAT_CONN_SESSION_TABLE_DROP_SUCCESS 1373 +#define WT_STAT_CONN_SESSION_TABLE_DROP_SUCCESS 1374 /*! session: table rename failed calls */ -#define WT_STAT_CONN_SESSION_TABLE_RENAME_FAIL 1374 +#define WT_STAT_CONN_SESSION_TABLE_RENAME_FAIL 1375 /*! session: table rename successful calls */ -#define WT_STAT_CONN_SESSION_TABLE_RENAME_SUCCESS 1375 +#define WT_STAT_CONN_SESSION_TABLE_RENAME_SUCCESS 1376 /*! session: table salvage failed calls */ -#define WT_STAT_CONN_SESSION_TABLE_SALVAGE_FAIL 1376 +#define WT_STAT_CONN_SESSION_TABLE_SALVAGE_FAIL 1377 /*! session: table salvage successful calls */ -#define WT_STAT_CONN_SESSION_TABLE_SALVAGE_SUCCESS 1377 +#define WT_STAT_CONN_SESSION_TABLE_SALVAGE_SUCCESS 1378 /*! session: table truncate failed calls */ -#define WT_STAT_CONN_SESSION_TABLE_TRUNCATE_FAIL 1378 +#define WT_STAT_CONN_SESSION_TABLE_TRUNCATE_FAIL 1379 /*! session: table truncate successful calls */ -#define WT_STAT_CONN_SESSION_TABLE_TRUNCATE_SUCCESS 1379 +#define WT_STAT_CONN_SESSION_TABLE_TRUNCATE_SUCCESS 1380 /*! session: table verify failed calls */ -#define WT_STAT_CONN_SESSION_TABLE_VERIFY_FAIL 1380 +#define WT_STAT_CONN_SESSION_TABLE_VERIFY_FAIL 1381 /*! session: table verify successful calls */ -#define WT_STAT_CONN_SESSION_TABLE_VERIFY_SUCCESS 1381 +#define WT_STAT_CONN_SESSION_TABLE_VERIFY_SUCCESS 1382 /*! thread-state: active filesystem fsync calls */ -#define WT_STAT_CONN_THREAD_FSYNC_ACTIVE 1382 +#define WT_STAT_CONN_THREAD_FSYNC_ACTIVE 1383 /*! thread-state: active filesystem read calls */ -#define WT_STAT_CONN_THREAD_READ_ACTIVE 1383 +#define WT_STAT_CONN_THREAD_READ_ACTIVE 1384 /*! thread-state: active filesystem write calls */ -#define WT_STAT_CONN_THREAD_WRITE_ACTIVE 1384 +#define WT_STAT_CONN_THREAD_WRITE_ACTIVE 1385 /*! thread-yield: application thread time evicting (usecs) */ -#define WT_STAT_CONN_APPLICATION_EVICT_TIME 1385 +#define WT_STAT_CONN_APPLICATION_EVICT_TIME 1386 /*! thread-yield: application thread time waiting for cache (usecs) */ -#define WT_STAT_CONN_APPLICATION_CACHE_TIME 1386 +#define WT_STAT_CONN_APPLICATION_CACHE_TIME 1387 /*! * thread-yield: connection close blocked waiting for transaction state * stabilization */ -#define WT_STAT_CONN_TXN_RELEASE_BLOCKED 1387 +#define WT_STAT_CONN_TXN_RELEASE_BLOCKED 1388 /*! thread-yield: connection close yielded for lsm manager shutdown */ -#define WT_STAT_CONN_CONN_CLOSE_BLOCKED_LSM 1388 +#define WT_STAT_CONN_CONN_CLOSE_BLOCKED_LSM 1389 /*! thread-yield: data handle lock yielded */ -#define WT_STAT_CONN_DHANDLE_LOCK_BLOCKED 1389 +#define WT_STAT_CONN_DHANDLE_LOCK_BLOCKED 1390 /*! * thread-yield: get reference for page index and slot time sleeping * (usecs) */ -#define WT_STAT_CONN_PAGE_INDEX_SLOT_REF_BLOCKED 1390 +#define WT_STAT_CONN_PAGE_INDEX_SLOT_REF_BLOCKED 1391 /*! thread-yield: log server sync yielded for log write */ -#define WT_STAT_CONN_LOG_SERVER_SYNC_BLOCKED 1391 +#define WT_STAT_CONN_LOG_SERVER_SYNC_BLOCKED 1392 /*! thread-yield: page access yielded due to prepare state change */ -#define WT_STAT_CONN_PREPARED_TRANSITION_BLOCKED_PAGE 1392 +#define WT_STAT_CONN_PREPARED_TRANSITION_BLOCKED_PAGE 1393 /*! thread-yield: page acquire busy blocked */ -#define WT_STAT_CONN_PAGE_BUSY_BLOCKED 1393 +#define WT_STAT_CONN_PAGE_BUSY_BLOCKED 1394 /*! thread-yield: page acquire eviction blocked */ -#define WT_STAT_CONN_PAGE_FORCIBLE_EVICT_BLOCKED 1394 +#define WT_STAT_CONN_PAGE_FORCIBLE_EVICT_BLOCKED 1395 /*! thread-yield: page acquire locked blocked */ -#define WT_STAT_CONN_PAGE_LOCKED_BLOCKED 1395 +#define WT_STAT_CONN_PAGE_LOCKED_BLOCKED 1396 /*! thread-yield: page acquire read blocked */ -#define WT_STAT_CONN_PAGE_READ_BLOCKED 1396 +#define WT_STAT_CONN_PAGE_READ_BLOCKED 1397 /*! thread-yield: page acquire time sleeping (usecs) */ -#define WT_STAT_CONN_PAGE_SLEEP 1397 +#define WT_STAT_CONN_PAGE_SLEEP 1398 /*! * thread-yield: page delete rollback time sleeping for state change * (usecs) */ -#define WT_STAT_CONN_PAGE_DEL_ROLLBACK_BLOCKED 1398 +#define WT_STAT_CONN_PAGE_DEL_ROLLBACK_BLOCKED 1399 /*! thread-yield: page reconciliation yielded due to child modification */ -#define WT_STAT_CONN_CHILD_MODIFY_BLOCKED_PAGE 1399 +#define WT_STAT_CONN_CHILD_MODIFY_BLOCKED_PAGE 1400 /*! transaction: Number of prepared updates */ -#define WT_STAT_CONN_TXN_PREPARED_UPDATES_COUNT 1400 +#define WT_STAT_CONN_TXN_PREPARED_UPDATES_COUNT 1401 /*! transaction: durable timestamp queue entries walked */ -#define WT_STAT_CONN_TXN_DURABLE_QUEUE_WALKED 1401 +#define WT_STAT_CONN_TXN_DURABLE_QUEUE_WALKED 1402 /*! transaction: durable timestamp queue insert to empty */ -#define WT_STAT_CONN_TXN_DURABLE_QUEUE_EMPTY 1402 +#define WT_STAT_CONN_TXN_DURABLE_QUEUE_EMPTY 1403 /*! transaction: durable timestamp queue inserts to head */ -#define WT_STAT_CONN_TXN_DURABLE_QUEUE_HEAD 1403 +#define WT_STAT_CONN_TXN_DURABLE_QUEUE_HEAD 1404 /*! transaction: durable timestamp queue inserts total */ -#define WT_STAT_CONN_TXN_DURABLE_QUEUE_INSERTS 1404 +#define WT_STAT_CONN_TXN_DURABLE_QUEUE_INSERTS 1405 /*! transaction: durable timestamp queue length */ -#define WT_STAT_CONN_TXN_DURABLE_QUEUE_LEN 1405 +#define WT_STAT_CONN_TXN_DURABLE_QUEUE_LEN 1406 /*! transaction: prepared transactions */ -#define WT_STAT_CONN_TXN_PREPARE 1406 +#define WT_STAT_CONN_TXN_PREPARE 1407 /*! transaction: prepared transactions committed */ -#define WT_STAT_CONN_TXN_PREPARE_COMMIT 1407 +#define WT_STAT_CONN_TXN_PREPARE_COMMIT 1408 /*! transaction: prepared transactions currently active */ -#define WT_STAT_CONN_TXN_PREPARE_ACTIVE 1408 +#define WT_STAT_CONN_TXN_PREPARE_ACTIVE 1409 /*! transaction: prepared transactions rolled back */ -#define WT_STAT_CONN_TXN_PREPARE_ROLLBACK 1409 +#define WT_STAT_CONN_TXN_PREPARE_ROLLBACK 1410 /*! transaction: query timestamp calls */ -#define WT_STAT_CONN_TXN_QUERY_TS 1410 +#define WT_STAT_CONN_TXN_QUERY_TS 1411 /*! transaction: race to read prepared update retry */ -#define WT_STAT_CONN_TXN_READ_RACE_PREPARE_UPDATE 1411 +#define WT_STAT_CONN_TXN_READ_RACE_PREPARE_UPDATE 1412 /*! transaction: read timestamp queue entries walked */ -#define WT_STAT_CONN_TXN_READ_QUEUE_WALKED 1412 +#define WT_STAT_CONN_TXN_READ_QUEUE_WALKED 1413 /*! transaction: read timestamp queue insert to empty */ -#define WT_STAT_CONN_TXN_READ_QUEUE_EMPTY 1413 +#define WT_STAT_CONN_TXN_READ_QUEUE_EMPTY 1414 /*! transaction: read timestamp queue inserts to head */ -#define WT_STAT_CONN_TXN_READ_QUEUE_HEAD 1414 +#define WT_STAT_CONN_TXN_READ_QUEUE_HEAD 1415 /*! transaction: read timestamp queue inserts total */ -#define WT_STAT_CONN_TXN_READ_QUEUE_INSERTS 1415 +#define WT_STAT_CONN_TXN_READ_QUEUE_INSERTS 1416 /*! transaction: read timestamp queue length */ -#define WT_STAT_CONN_TXN_READ_QUEUE_LEN 1416 +#define WT_STAT_CONN_TXN_READ_QUEUE_LEN 1417 /*! transaction: rollback to stable calls */ -#define WT_STAT_CONN_TXN_RTS 1417 +#define WT_STAT_CONN_TXN_RTS 1418 /*! * transaction: rollback to stable hs records with stop timestamps older * than newer records */ -#define WT_STAT_CONN_TXN_RTS_HS_STOP_OLDER_THAN_NEWER_START 1418 +#define WT_STAT_CONN_TXN_RTS_HS_STOP_OLDER_THAN_NEWER_START 1419 /*! transaction: rollback to stable keys removed */ -#define WT_STAT_CONN_TXN_RTS_KEYS_REMOVED 1419 +#define WT_STAT_CONN_TXN_RTS_KEYS_REMOVED 1420 /*! transaction: rollback to stable keys restored */ -#define WT_STAT_CONN_TXN_RTS_KEYS_RESTORED 1420 +#define WT_STAT_CONN_TXN_RTS_KEYS_RESTORED 1421 /*! transaction: rollback to stable pages visited */ -#define WT_STAT_CONN_TXN_RTS_PAGES_VISITED 1421 +#define WT_STAT_CONN_TXN_RTS_PAGES_VISITED 1422 /*! transaction: rollback to stable restored tombstones from history store */ -#define WT_STAT_CONN_TXN_RTS_HS_RESTORE_TOMBSTONES 1422 +#define WT_STAT_CONN_TXN_RTS_HS_RESTORE_TOMBSTONES 1423 /*! transaction: rollback to stable sweeping history store keys */ -#define WT_STAT_CONN_TXN_RTS_SWEEP_HS_KEYS 1423 +#define WT_STAT_CONN_TXN_RTS_SWEEP_HS_KEYS 1424 /*! transaction: rollback to stable tree walk skipping pages */ -#define WT_STAT_CONN_TXN_RTS_TREE_WALK_SKIP_PAGES 1424 +#define WT_STAT_CONN_TXN_RTS_TREE_WALK_SKIP_PAGES 1425 /*! transaction: rollback to stable updates aborted */ -#define WT_STAT_CONN_TXN_RTS_UPD_ABORTED 1425 +#define WT_STAT_CONN_TXN_RTS_UPD_ABORTED 1426 /*! transaction: rollback to stable updates removed from history store */ -#define WT_STAT_CONN_TXN_RTS_HS_REMOVED 1426 +#define WT_STAT_CONN_TXN_RTS_HS_REMOVED 1427 /*! transaction: set timestamp calls */ -#define WT_STAT_CONN_TXN_SET_TS 1427 +#define WT_STAT_CONN_TXN_SET_TS 1428 /*! transaction: set timestamp durable calls */ -#define WT_STAT_CONN_TXN_SET_TS_DURABLE 1428 +#define WT_STAT_CONN_TXN_SET_TS_DURABLE 1429 /*! transaction: set timestamp durable updates */ -#define WT_STAT_CONN_TXN_SET_TS_DURABLE_UPD 1429 +#define WT_STAT_CONN_TXN_SET_TS_DURABLE_UPD 1430 /*! transaction: set timestamp oldest calls */ -#define WT_STAT_CONN_TXN_SET_TS_OLDEST 1430 +#define WT_STAT_CONN_TXN_SET_TS_OLDEST 1431 /*! transaction: set timestamp oldest updates */ -#define WT_STAT_CONN_TXN_SET_TS_OLDEST_UPD 1431 +#define WT_STAT_CONN_TXN_SET_TS_OLDEST_UPD 1432 /*! transaction: set timestamp stable calls */ -#define WT_STAT_CONN_TXN_SET_TS_STABLE 1432 +#define WT_STAT_CONN_TXN_SET_TS_STABLE 1433 /*! transaction: set timestamp stable updates */ -#define WT_STAT_CONN_TXN_SET_TS_STABLE_UPD 1433 +#define WT_STAT_CONN_TXN_SET_TS_STABLE_UPD 1434 /*! transaction: transaction begins */ -#define WT_STAT_CONN_TXN_BEGIN 1434 +#define WT_STAT_CONN_TXN_BEGIN 1435 /*! transaction: transaction checkpoint currently running */ -#define WT_STAT_CONN_TXN_CHECKPOINT_RUNNING 1435 +#define WT_STAT_CONN_TXN_CHECKPOINT_RUNNING 1436 /*! transaction: transaction checkpoint generation */ -#define WT_STAT_CONN_TXN_CHECKPOINT_GENERATION 1436 +#define WT_STAT_CONN_TXN_CHECKPOINT_GENERATION 1437 /*! * transaction: transaction checkpoint history store file duration * (usecs) */ -#define WT_STAT_CONN_TXN_HS_CKPT_DURATION 1437 +#define WT_STAT_CONN_TXN_HS_CKPT_DURATION 1438 /*! transaction: transaction checkpoint max time (msecs) */ -#define WT_STAT_CONN_TXN_CHECKPOINT_TIME_MAX 1438 +#define WT_STAT_CONN_TXN_CHECKPOINT_TIME_MAX 1439 /*! transaction: transaction checkpoint min time (msecs) */ -#define WT_STAT_CONN_TXN_CHECKPOINT_TIME_MIN 1439 +#define WT_STAT_CONN_TXN_CHECKPOINT_TIME_MIN 1440 /*! * transaction: transaction checkpoint most recent duration for gathering * all handles (usecs) */ -#define WT_STAT_CONN_TXN_CHECKPOINT_HANDLE_DURATION 1440 +#define WT_STAT_CONN_TXN_CHECKPOINT_HANDLE_DURATION 1441 /*! * transaction: transaction checkpoint most recent duration for gathering * applied handles (usecs) */ -#define WT_STAT_CONN_TXN_CHECKPOINT_HANDLE_DURATION_APPLY 1441 +#define WT_STAT_CONN_TXN_CHECKPOINT_HANDLE_DURATION_APPLY 1442 /*! * transaction: transaction checkpoint most recent duration for gathering * skipped handles (usecs) */ -#define WT_STAT_CONN_TXN_CHECKPOINT_HANDLE_DURATION_SKIP 1442 +#define WT_STAT_CONN_TXN_CHECKPOINT_HANDLE_DURATION_SKIP 1443 /*! transaction: transaction checkpoint most recent handles applied */ -#define WT_STAT_CONN_TXN_CHECKPOINT_HANDLE_APPLIED 1443 +#define WT_STAT_CONN_TXN_CHECKPOINT_HANDLE_APPLIED 1444 /*! transaction: transaction checkpoint most recent handles skipped */ -#define WT_STAT_CONN_TXN_CHECKPOINT_HANDLE_SKIPPED 1444 +#define WT_STAT_CONN_TXN_CHECKPOINT_HANDLE_SKIPPED 1445 /*! transaction: transaction checkpoint most recent handles walked */ -#define WT_STAT_CONN_TXN_CHECKPOINT_HANDLE_WALKED 1445 +#define WT_STAT_CONN_TXN_CHECKPOINT_HANDLE_WALKED 1446 /*! transaction: transaction checkpoint most recent time (msecs) */ -#define WT_STAT_CONN_TXN_CHECKPOINT_TIME_RECENT 1446 +#define WT_STAT_CONN_TXN_CHECKPOINT_TIME_RECENT 1447 /*! transaction: transaction checkpoint prepare currently running */ -#define WT_STAT_CONN_TXN_CHECKPOINT_PREP_RUNNING 1447 +#define WT_STAT_CONN_TXN_CHECKPOINT_PREP_RUNNING 1448 /*! transaction: transaction checkpoint prepare max time (msecs) */ -#define WT_STAT_CONN_TXN_CHECKPOINT_PREP_MAX 1448 +#define WT_STAT_CONN_TXN_CHECKPOINT_PREP_MAX 1449 /*! transaction: transaction checkpoint prepare min time (msecs) */ -#define WT_STAT_CONN_TXN_CHECKPOINT_PREP_MIN 1449 +#define WT_STAT_CONN_TXN_CHECKPOINT_PREP_MIN 1450 /*! transaction: transaction checkpoint prepare most recent time (msecs) */ -#define WT_STAT_CONN_TXN_CHECKPOINT_PREP_RECENT 1450 +#define WT_STAT_CONN_TXN_CHECKPOINT_PREP_RECENT 1451 /*! transaction: transaction checkpoint prepare total time (msecs) */ -#define WT_STAT_CONN_TXN_CHECKPOINT_PREP_TOTAL 1451 +#define WT_STAT_CONN_TXN_CHECKPOINT_PREP_TOTAL 1452 /*! transaction: transaction checkpoint scrub dirty target */ -#define WT_STAT_CONN_TXN_CHECKPOINT_SCRUB_TARGET 1452 +#define WT_STAT_CONN_TXN_CHECKPOINT_SCRUB_TARGET 1453 /*! transaction: transaction checkpoint scrub time (msecs) */ -#define WT_STAT_CONN_TXN_CHECKPOINT_SCRUB_TIME 1453 +#define WT_STAT_CONN_TXN_CHECKPOINT_SCRUB_TIME 1454 /*! transaction: transaction checkpoint total time (msecs) */ -#define WT_STAT_CONN_TXN_CHECKPOINT_TIME_TOTAL 1454 +#define WT_STAT_CONN_TXN_CHECKPOINT_TIME_TOTAL 1455 /*! transaction: transaction checkpoints */ -#define WT_STAT_CONN_TXN_CHECKPOINT 1455 +#define WT_STAT_CONN_TXN_CHECKPOINT 1456 /*! * transaction: transaction checkpoints skipped because database was * clean */ -#define WT_STAT_CONN_TXN_CHECKPOINT_SKIPPED 1456 +#define WT_STAT_CONN_TXN_CHECKPOINT_SKIPPED 1457 /*! transaction: transaction failures due to history store */ -#define WT_STAT_CONN_TXN_FAIL_CACHE 1457 +#define WT_STAT_CONN_TXN_FAIL_CACHE 1458 /*! * transaction: transaction fsync calls for checkpoint after allocating * the transaction ID */ -#define WT_STAT_CONN_TXN_CHECKPOINT_FSYNC_POST 1458 +#define WT_STAT_CONN_TXN_CHECKPOINT_FSYNC_POST 1459 /*! * transaction: transaction fsync duration for checkpoint after * allocating the transaction ID (usecs) */ -#define WT_STAT_CONN_TXN_CHECKPOINT_FSYNC_POST_DURATION 1459 +#define WT_STAT_CONN_TXN_CHECKPOINT_FSYNC_POST_DURATION 1460 /*! transaction: transaction range of IDs currently pinned */ -#define WT_STAT_CONN_TXN_PINNED_RANGE 1460 +#define WT_STAT_CONN_TXN_PINNED_RANGE 1461 /*! transaction: transaction range of IDs currently pinned by a checkpoint */ -#define WT_STAT_CONN_TXN_PINNED_CHECKPOINT_RANGE 1461 +#define WT_STAT_CONN_TXN_PINNED_CHECKPOINT_RANGE 1462 /*! transaction: transaction range of timestamps currently pinned */ -#define WT_STAT_CONN_TXN_PINNED_TIMESTAMP 1462 +#define WT_STAT_CONN_TXN_PINNED_TIMESTAMP 1463 /*! transaction: transaction range of timestamps pinned by a checkpoint */ -#define WT_STAT_CONN_TXN_PINNED_TIMESTAMP_CHECKPOINT 1463 +#define WT_STAT_CONN_TXN_PINNED_TIMESTAMP_CHECKPOINT 1464 /*! * transaction: transaction range of timestamps pinned by the oldest * active read timestamp */ -#define WT_STAT_CONN_TXN_PINNED_TIMESTAMP_READER 1464 +#define WT_STAT_CONN_TXN_PINNED_TIMESTAMP_READER 1465 /*! * transaction: transaction range of timestamps pinned by the oldest * timestamp */ -#define WT_STAT_CONN_TXN_PINNED_TIMESTAMP_OLDEST 1465 +#define WT_STAT_CONN_TXN_PINNED_TIMESTAMP_OLDEST 1466 /*! transaction: transaction read timestamp of the oldest active reader */ -#define WT_STAT_CONN_TXN_TIMESTAMP_OLDEST_ACTIVE_READ 1466 +#define WT_STAT_CONN_TXN_TIMESTAMP_OLDEST_ACTIVE_READ 1467 /*! transaction: transaction sync calls */ -#define WT_STAT_CONN_TXN_SYNC 1467 +#define WT_STAT_CONN_TXN_SYNC 1468 /*! transaction: transactions committed */ -#define WT_STAT_CONN_TXN_COMMIT 1468 +#define WT_STAT_CONN_TXN_COMMIT 1469 /*! transaction: transactions rolled back */ -#define WT_STAT_CONN_TXN_ROLLBACK 1469 +#define WT_STAT_CONN_TXN_ROLLBACK 1470 /*! transaction: update conflicts */ -#define WT_STAT_CONN_TXN_UPDATE_CONFLICT 1470 +#define WT_STAT_CONN_TXN_UPDATE_CONFLICT 1471 /*! * @} diff --git a/src/third_party/wiredtiger/src/support/stat.c b/src/third_party/wiredtiger/src/support/stat.c index ef861fca3da..146643130db 100644 --- a/src/third_party/wiredtiger/src/support/stat.c +++ b/src/third_party/wiredtiger/src/support/stat.c @@ -972,6 +972,7 @@ static const char *const __stats_connection_desc[] = { "cache: page written requiring history store records", "cache: pages currently held in the cache", "cache: pages evicted by application threads", + "cache: pages evicted in parallel with checkpoint", "cache: pages queued for eviction", "cache: pages queued for eviction post lru sorting", "cache: pages queued for urgent eviction", @@ -1488,6 +1489,7 @@ __wt_stat_connection_clear_single(WT_CONNECTION_STATS *stats) stats->cache_write_hs = 0; /* not clearing cache_pages_inuse */ stats->cache_eviction_app = 0; + stats->cache_eviction_pages_in_parallel_with_checkpoint = 0; stats->cache_eviction_pages_queued = 0; stats->cache_eviction_pages_queued_post_lru = 0; stats->cache_eviction_pages_queued_urgent = 0; @@ -1989,6 +1991,8 @@ __wt_stat_connection_aggregate(WT_CONNECTION_STATS **from, WT_CONNECTION_STATS * to->cache_write_hs += WT_STAT_READ(from, cache_write_hs); to->cache_pages_inuse += WT_STAT_READ(from, cache_pages_inuse); to->cache_eviction_app += WT_STAT_READ(from, cache_eviction_app); + to->cache_eviction_pages_in_parallel_with_checkpoint += + WT_STAT_READ(from, cache_eviction_pages_in_parallel_with_checkpoint); to->cache_eviction_pages_queued += WT_STAT_READ(from, cache_eviction_pages_queued); to->cache_eviction_pages_queued_post_lru += WT_STAT_READ(from, cache_eviction_pages_queued_post_lru); diff --git a/src/third_party/wiredtiger/src/utilities/util_dump.c b/src/third_party/wiredtiger/src/utilities/util_dump.c index 82e6ac54d17..2cece102729 100755 --- a/src/third_party/wiredtiger/src/utilities/util_dump.c +++ b/src/third_party/wiredtiger/src/utilities/util_dump.c @@ -266,6 +266,12 @@ dump_config(WT_SESSION *session, const char *uri, WT_CURSOR *cursor, bool hex, b ret = 1; } else if (ret == WT_NOTFOUND) ret = util_err(session, 0, "%s: No such object exists", uri); + else if (ret == ENOTSUP) + /* + * Ignore ENOTSUP error. We return that for getting the creation metadata for a complex + * table because the meaning of that is undefined. It does mean the table exists. + */ + ret = 0; else ret = util_err(session, ret, "%s", uri); diff --git a/src/third_party/wiredtiger/test/csuite/timestamp_abort/main.c b/src/third_party/wiredtiger/test/csuite/timestamp_abort/main.c index e99206309b3..0179adddf46 100644 --- a/src/third_party/wiredtiger/test/csuite/timestamp_abort/main.c +++ b/src/third_party/wiredtiger/test/csuite/timestamp_abort/main.c @@ -230,9 +230,11 @@ thread_ckpt_run(void *arg) fflush(stdout); /* * Create the checkpoint file so that the parent process knows at least one checkpoint has - * finished and can start its timer. + * finished and can start its timer. If running with timestamps, wait until the stable + * timestamp has moved past WT_TS_NONE to give writer threads a chance to add something to + * the database. */ - if (first_ckpt) { + if (first_ckpt && (!use_ts || stable != WT_TS_NONE)) { testutil_checksys((fp = fopen(ckpt_file, "w")) == NULL); first_ckpt = false; testutil_checksys(fclose(fp) != 0); diff --git a/src/third_party/wiredtiger/test/suite/test_metadata_cursor04.py b/src/third_party/wiredtiger/test/suite/test_metadata_cursor04.py new file mode 100644 index 00000000000..81234333335 --- /dev/null +++ b/src/third_party/wiredtiger/test/suite/test_metadata_cursor04.py @@ -0,0 +1,76 @@ +#!/usr/bin/env python +# +# Public Domain 2014-2020 MongoDB, Inc. +# Public Domain 2008-2014 WiredTiger, Inc. +# +# This is free and unencumbered software released into the public domain. +# +# Anyone is free to copy, modify, publish, use, compile, sell, or +# distribute this software, either in source code form or as a compiled +# binary, for any purpose, commercial or non-commercial, and by any +# means. +# +# In jurisdictions that recognize copyright laws, the author or authors +# of this software dedicate any and all copyright interest in the +# software to the public domain. We make this dedication for the benefit +# of the public at large and to the detriment of our heirs and +# successors. We intend this dedication to be an overt act of +# relinquishment in perpetuity of all present and future rights to this +# software under copyright law. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +# OTHER DEALINGS IN THE SOFTWARE. + +import wiredtiger, wttest + +# test_metadata04.py +# Check metadata create cursors with complex tables. +class test_metadata04(wttest.WiredTigerTestCase): + # Turn logging on for the database but we will turn logging off for all tables. + conn_config = 'log=(enabled)' + uri = 'table:metadata04' + + def check_meta(self, uri, check_log): + cur = self.session.open_cursor('metadata:create', None, None) + cur.set_key(uri) + cur.search() + meta = cur.get_value() + cur.close() + self.pr("======== " + uri) + self.pr(meta) + if not check_log: + return + + log_false = meta.find('log=(enabled=false)') + if log_false == -1: + self.pr(uri + " FAIL: " + meta) + else: + self.pr(uri + " SUCCESS") + self.assertTrue(log_false != -1) + + # Test a complex table with column groups and an index. + def test_metadata04_complex(self): + self.session.create(self.uri, + "log=(enabled=false),key_format=S,value_format=SS," + + "columns=(key,s0,s1),colgroups=(c1)") + + self.session.create("index:metadata04:s0", "log=(enabled=false),columns=(s0)") + self.session.create("colgroup:metadata04:c1", "log=(enabled=false),columns=(s0,s1)") + + # Check that we can see that logging on the index and colgroup tables is false. + self.check_meta("colgroup:metadata04:c1", True) + self.check_meta("index:metadata04:s0", True) + self.check_meta(self.uri, False) + + # Test a simple table. + def test_metadata04_table(self): + self.session.create(self.uri, 'log=(enabled=false),key_format=S,value_format=S,') + self.check_meta(self.uri, True) + +if __name__ == '__main__': + wttest.run() diff --git a/src/third_party/wiredtiger/test/suite/test_prepare08.py b/src/third_party/wiredtiger/test/suite/test_prepare08.py index 9b2ac655ede..a7508ec3af4 100644 --- a/src/third_party/wiredtiger/test/suite/test_prepare08.py +++ b/src/third_party/wiredtiger/test/suite/test_prepare08.py @@ -39,7 +39,7 @@ def timestamp_str(t): # to the data store. class test_prepare08(wttest.WiredTigerTestCase): # Force a small cache. - conn_config = 'cache_size=5MB,eviction_dirty_trigger=80,eviction_updates_trigger=80' + conn_config = 'cache_size=10MB,eviction_dirty_trigger=80,eviction_updates_trigger=80' def updates(self, ds, uri, nrows, value, ts): cursor = self.session.open_cursor(uri) |