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

Optimize BtreeKeyGenerator::getKeys for non-multikey indexes

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v4.4
    • Query 2020-03-23, Query 2020-04-06
    • 0

    Description

      When we generate an index key for a document solely for validation purposes, like in this case, and we know that the index is not multikey, we can optimize the key generation code path and skip all the mutlikey specific logic.

      Attachments

        Activity

          People

            anton.korshunov@mongodb.com Anton Korshunov
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: