Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8091

Create cpp test performing unique indexes insertions

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.1, 5.2.0
    • None
    • None
    • 5
    • Storage - Ra 2021-11-15, Storage - Ra 2021-11-29

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              jie.chen@mongodb.com Jie Chen
              jie.chen@mongodb.com Jie Chen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: