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

Plug DurableCatalog::scanForCatalogEntryByNss into CollectionCatalog::openCollection

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-11-14

      Need to plug it on, probably something like this

           if (nss != catalogEntry->metadata->nss) {
                // The requested namespace does not match the namespace found in the in-memory PIT
                catalog
                // entry lookup. Fall back to scanning the catalog at the point in time.
                auto catalogEntry = DurableCatalog::get(opCtx)->scanForCatalogEntryByNss(opCtx, nss);
                if (!catalogEntry) {
                    return boost::none;
                }
            }
      

      after this code and then unit test it.

            Assignee:
            will.buerger@mongodb.com Will Buerger
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: