Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Execution Team 2022-11-14
Description
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.
Attachments
Issue Links
- depends on
-
SERVER-68267 Implement function to search for durable catalog entry by namespace
-
- Closed
-
- related to
-
SERVER-70149 Refactor CollectionCatalog::openCollection()
-
- Closed
-