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

Remove discrepancy between prefix_key and prefix_search

    XMLWordPrintableJSON

Details

    • Technical Debt
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.1, 5.0.4, 4.4.10, 5.2.0, 5.1.0-rc0
    • None
    • None
    • 3
    • Storage - Ra 2021-10-18

    Description

      In api_data.py, we define the configuration prefix_search to enable early exit on a prefix search in search_near. However, we have been using prefix_key to enable that option, see cur_std.c and one of our search_near test.

      We need to change the name in api_data.py as we may have users who already use the configuration name prefix_key.

      It would be worth investigating how we ended up with this discrepancy.

      Definition of done:

      The discrepancy is removed and one consistent terminology is used.

      Make sure it does not impact MongoDB tests by checking the source code and triggering a patch build.

      Attachments

        Issue Links

          Activity

            People

              etienne.petrel@mongodb.com Etienne Petrel
              etienne.petrel@mongodb.com Etienne Petrel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: