summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/create_collection.h
diff options
context:
space:
mode:
authorMindaugas Malinauskas <mindaugas.malinauskas@mongodb.com>2021-10-19 16:39:13 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-19 17:03:18 +0000
commit480da702d82f458a9d954092a42f56c2d064b6f4 (patch)
tree5243d6d3027f6d7cc0edce8362e6398736cfb377 /src/mongo/db/catalog/create_collection.h
parentfbbcca323c3099398540c7f44a4b6d73589fba6d (diff)
downloadmongo-480da702d82f458a9d954092a42f56c2d064b6f4.tar.gz
SERVER-58825 Make pre-images collection clustered
Diffstat (limited to 'src/mongo/db/catalog/create_collection.h')
-rw-r--r--src/mongo/db/catalog/create_collection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/create_collection.h b/src/mongo/db/catalog/create_collection.h
index 3b68acbfe2a..24d41eb3fbd 100644
--- a/src/mongo/db/catalog/create_collection.h
+++ b/src/mongo/db/catalog/create_collection.h
@@ -55,6 +55,10 @@ Status createCollection(OperationContext* opCtx,
const NamespaceString& ns,
const CreateCommand& cmd);
+/**
+ * Creates the change stream pre-images collection. The collection is clustered by the primary key,
+ * _id.
+ */
void createChangeStreamPreImagesCollection(OperationContext* opCtx);
/**