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

Validate should use KeyString for comparison instead of woCompare

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.9
    • None
    • Storage
    • None
    • Fully Compatible
    • Storage 2017-06-19, Storage 2017-07-10

    Description

      Currently RecordStoreValidateAdaptor::traverseIndex calls woCompare to check ordering of index keys, but a few lines later in hashIndexEntry we compute the KeyString. We should use these to compare instead, as that's much cheaper.

      Attachments

        1. Comparison.png
          Comparison.png
          58 kB
        2. ComparisonSmall.png
          ComparisonSmall.png
          55 kB

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: