summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_catalog_entry.h
diff options
context:
space:
mode:
authorMaria van Keulen <maria@mongodb.com>2018-02-25 14:06:11 -0500
committerMaria van Keulen <maria@mongodb.com>2018-03-01 18:30:42 -0500
commitb7b58a38dd34ac09ed56eb1f306ea6d64f8b2d88 (patch)
tree7531b28cce30cf9f888cb530aeb88ac39e6bcc0c /src/mongo/db/catalog/collection_catalog_entry.h
parent3891613c64a74f058cd23c530c208142287281bc (diff)
downloadmongo-b7b58a38dd34ac09ed56eb1f306ea6d64f8b2d88.tar.gz
SERVER-32272 Remove 3.4 to 3.6-specific UUID handling
Diffstat (limited to 'src/mongo/db/catalog/collection_catalog_entry.h')
-rw-r--r--src/mongo/db/catalog/collection_catalog_entry.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mongo/db/catalog/collection_catalog_entry.h b/src/mongo/db/catalog/collection_catalog_entry.h
index 2bd8bf2d125..ab8774eeb79 100644
--- a/src/mongo/db/catalog/collection_catalog_entry.h
+++ b/src/mongo/db/catalog/collection_catalog_entry.h
@@ -146,21 +146,16 @@ public:
virtual void setIsTemp(OperationContext* opCtx, bool isTemp) = 0;
/**
- * Assigns a new UUID to this collection. This is to be called when the schemaVersion is set
- * to 3.6 and there are collections that still do not have UUIDs.
+ * Assigns a new UUID to this collection. All collections must have UUIDs, so this is called if
+ * a collection erroneously does not have a UUID.
*/
virtual void addUUID(OperationContext* opCtx, CollectionUUID uuid, Collection* coll) = 0;
- /**
- * Removes the UUID from this collection. This is to be called when the schemaVersion is set
- * to 3.4 and there are collections that still have UUIDs.
- */
- virtual void removeUUID(OperationContext* opCtx) = 0;
/**
* Compare the UUID argument to the UUID obtained from the metadata. Return true if they
* are equal, false otherwise.
*/
- virtual bool isEqualToMetadataUUID(OperationContext* opCtx, OptionalCollectionUUID uuid) = 0;
+ virtual bool isEqualToMetadataUUID(OperationContext* opCtx, CollectionUUID uuid) = 0;
/**
* Updates size of a capped Collection.