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

Unify CollectionImpl creation interface

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2023-06-12, Execution NAMR Team 2023-06-26

      There are two constructors to CollectionImpl, one taking the whole metadata object from the DurableCatalog and one for just the CollectionOptions. Ideally it would be a nicer encapsulation if the metadata was read when creating the CollectionImpl but it is often needed before the CollectionImpl instance is created.

      We should unify the interfaces and fix so all callsites creating collections can use the interface that provides the metadata.

            Assignee:
            malik.endsley@mongodb.com Malik Endsley (Inactive)
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: