summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_catalog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/collection_catalog.h')
-rw-r--r--src/mongo/db/catalog/collection_catalog.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/collection_catalog.h b/src/mongo/db/catalog/collection_catalog.h
index d3d3446f1be..0b2561f0996 100644
--- a/src/mongo/db/catalog/collection_catalog.h
+++ b/src/mongo/db/catalog/collection_catalog.h
@@ -736,6 +736,15 @@ private:
const NamespaceString& to,
boost::optional<Timestamp> ts);
+ // TODO SERVER-70150: Make private again
+public:
+ // Inserts a catalogId for namespace at given Timestamp. Used after scanning the durable catalog
+ // for a correct mapping at the given timestamp.
+ void _insertCatalogIdForNSSAfterScan(const NamespaceString& nss,
+ boost::optional<RecordId> catalogId,
+ Timestamp ts);
+
+private:
// Helper to calculate if a namespace needs to be marked for cleanup for a set of timestamped
// catalogIds
void _markNamespaceForCatalogIdCleanupIfNeeded(const NamespaceString& nss,