summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog
diff options
context:
space:
mode:
authorPaolo Polato <paolo.polato@mongodb.com>2022-10-04 10:17:41 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-10-04 10:53:59 +0000
commit7405963f881131033c6eb519adc382e4135c9d6b (patch)
treedec8d02668990f4f33986fc4215600e6d2e05744 /src/mongo/s/catalog
parent2269f512a48251749ff669cf42ef428cb5920d61 (diff)
downloadmongo-7405963f881131033c6eb519adc382e4135c9d6b.tar.gz
SERVER-70099 Extend the schema of config.placementData to also store the UUID field when nss refers to a collection
Diffstat (limited to 'src/mongo/s/catalog')
-rw-r--r--src/mongo/s/catalog/type_namespace_placement.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/s/catalog/type_namespace_placement.idl b/src/mongo/s/catalog/type_namespace_placement.idl
index 3e724b9481f..70efc024470 100644
--- a/src/mongo/s/catalog/type_namespace_placement.idl
+++ b/src/mongo/s/catalog/type_namespace_placement.idl
@@ -46,6 +46,12 @@ structs:
type: namespacestring
description: "The namespace (database or full collection name)
referenced by this object."
+ uuid:
+ cpp_name: uuid
+ type: uuid
+ description: "When nss references a collection, this field stores the uuid assigned
+ to such collection at the time of its creation."
+ optional: true
timestamp:
type: timestamp
description: "The point in time at which this version of NamespacePlacementType