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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-12-12

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: