Priority: Major - P3
Affects Version/s: None
Fix Version/s: Backlog
Sprint:Storage - Ra 2021-11-01
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