Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-64828

Only check for out-of-order index entries in debug builds

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QO 2022-04-04

    Description

      Currently each time we call getNext() on a forward index cursor, we'll do an extra check against the key as a workaround for WT-2307. Since that bug has been fixed, this extra comparison is no longer strictly necessary. Removing it from production builds should get us a modest but non-trivial performance improvement, at least for workloads where the index fits in memory. If the index entries need to be read from disk, then the cost of the comparison is rendered trivial.

      Attachments

        Activity

          People

            dan.larkin-york@mongodb.com Dan Larkin-York
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: