diff options
author | Luke Chen <luke.chen@mongodb.com> | 2020-06-03 17:32:56 +1000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-03 07:46:19 +0000 |
commit | ff99a2afe938bf7aec7e4bbfb0a922d7f70d6712 (patch) | |
tree | 07d2afeb5da1be1e9d427d00c37a5160a205f8a9 /src/third_party/wiredtiger/test/format | |
parent | f9f44a12b3c712d60881b430510bd5b7d603ca1b (diff) | |
download | mongo-ff99a2afe938bf7aec7e4bbfb0a922d7f70d6712.tar.gz |
Import wiredtiger: 3901b43d1e0f034c46999ccfdbdd0914791859e0 from branch mongodb-4.4r4.4.0-rc8
ref: cc2458c2c2..3901b43d1e
for: 4.4.0-rc8
WT-5769 Search history store can potentially walk the whole history store tree
WT-6328 Update test_compact02 to handle being halted by eviction pressure
WT-6355 test/format can configure keys that are too short
WT-6364 Fix double counting sizes of existing updates on the update chain for the history store
Diffstat (limited to 'src/third_party/wiredtiger/test/format')
-rw-r--r-- | src/third_party/wiredtiger/test/format/config.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/test/format/config.h b/src/third_party/wiredtiger/test/format/config.h index 80d2ab99cd4..d0023be05d2 100644 --- a/src/third_party/wiredtiger/test/format/config.h +++ b/src/third_party/wiredtiger/test/format/config.h @@ -103,7 +103,12 @@ static CONFIG c[] = { {"btree.key_max", "maximum size of keys", 0x0, 20, 128, MEGABYTE(10), &g.c_key_max, NULL}, - {"btree.key_min", "minimum size of keys", 0x0, 10, 32, 256, &g.c_key_min, NULL}, + /* + * A minimum key size of 11 is necessary. Row-store keys have a leading 10-digit number and the + * 11 guarantees we never see a key that we can't convert to a numeric value without formatting + * it first because there's a trailing non-digit character in every key. + */ + {"btree.key_min", "minimum size of keys", 0x0, 11, 32, 256, &g.c_key_min, NULL}, {"btree.leaf_page_max", "maximum size of Btree leaf nodes", 0x0, 9, 17, 27, &g.c_leaf_page_max, NULL}, |