This cpp test will be focused around re-creating how mongoDB performs unique index insertions. MongoDB represents a unique index key through the format (prefix, _id). A unique index insertion has the following method:
- Insert the prefix
- Remove the prefix
- Search near for the prefix
- Insert the full value of format (prefix, _id)
All of these operations are wrapped in the same transaction.
Definition of the test:
This test will need to have insert threads continuously performing unique index insertions and read threads performing search_near() calls to ensure that the unique indexes don’t get overwritten.
This test will also have user configurable options e.g. read thread count, insert thread count, key size, number of collections
- has to be done after
WT-8093 Improve the CPP testing framework for better flexibility
- is depended on by
WT-8150 Poor search near performance if a lot of data are invisible