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

Avoid parsing durable catalog entry when we only need to compare as BSON

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2022-12-12

      When openCollection is called without a timestamp the durable catalog entry is compared as BSON against the collection instance in pending/catalog to determine which matches.

      Currently we always use getParsedCatalogEntry and then re-convert the entry to BSON for the comparison above. In the code path where we know we will only need the catalog entry as BSON we should request it as BSON from the durable catalog to avoid this unnecessary conversion.

            Assignee:
            will.buerger@mongodb.com Will Buerger
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: