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

Remove discrepancy between prefix_key and prefix_search

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 5.0.4, 4.4.10, 5.2.0, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • 3
    • Storage - Ra 2021-10-18

      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.

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

              Created:
              Updated:
              Resolved: