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

Validate should use KeyString for comparison instead of woCompare

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.9
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage 2017-06-19, Storage 2017-07-10

      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.

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

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

              Created:
              Updated:
              Resolved: