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

lookupUUIDByNSS should be constant time

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: 4.1.10
    • Component/s: Catalog
    • Fully Compatible
    • ALL
    • Execution Team 2019-12-16

      While there are currently not many users of this, looking up a collection UUID by name should not take more time than looking up a Collection object by name. Currently the time is linear in the number of collections in the database while holding the catalog mutex which will cause problems if there are more users of the method.

            Assignee:
            daniel.ernst@mongodb.com Daniel Ernst
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: