From d930e6bcc7c8535c930bcc3d1d719a7551b3a325 Mon Sep 17 00:00:00 2001 From: Kaloian Manassiev Date: Wed, 29 Sep 2021 14:27:11 +0000 Subject: SERVER-60092 Remove TODO referencing ScopedAllowImplicitCollectionCreate_UNSAFE --- src/mongo/db/s/operation_sharding_state.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mongo/db/s/operation_sharding_state.h') diff --git a/src/mongo/db/s/operation_sharding_state.h b/src/mongo/db/s/operation_sharding_state.h index a8b31541cab..4bc818fecaf 100644 --- a/src/mongo/db/s/operation_sharding_state.h +++ b/src/mongo/db/s/operation_sharding_state.h @@ -69,12 +69,12 @@ public: static bool isOperationVersioned(OperationContext* opCtx); /** - * Instantiating this object on the stack indicates to the storage execution subsystem that it - * is allowed to create a collection in this context and that the caller is responsible for - * notifying the shard Sharding sybsystem of the collection creation. + * NOTE: DO NOT ADD any new usages of this class without including someone from the Sharding + * Team on the code review. * - * DO NOT add any new usages of this class without including someone from the Sharding Team on - * the code review. + * Instantiating this object on the stack indicates to the storage execution subsystem that it + * is allowed to create any collection in this context and that the caller will be responsible + * for notifying the shard Sharding sybsystem of the collection creation. */ class ScopedAllowImplicitCollectionCreate_UNSAFE { public: -- cgit v1.2.1