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

Optimize BtreeKeyGenerator::getKeys for non-multikey indexes

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

      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.

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

              Created:
              Updated:
              Resolved: