diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2021-09-29 14:27:11 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-09-29 15:06:24 +0000 |
commit | d930e6bcc7c8535c930bcc3d1d719a7551b3a325 (patch) | |
tree | b38f298f32ad1378541411a8f7cc44bcee54cf34 /src/mongo/db/s/operation_sharding_state.h | |
parent | a433f99db68b62e216005d606281fa52356ed8b7 (diff) | |
download | mongo-d930e6bcc7c8535c930bcc3d1d719a7551b3a325.tar.gz |
SERVER-60092 Remove TODO referencing ScopedAllowImplicitCollectionCreate_UNSAFE
Diffstat (limited to 'src/mongo/db/s/operation_sharding_state.h')
-rw-r--r-- | src/mongo/db/s/operation_sharding_state.h | 10 |
1 files changed, 5 insertions, 5 deletions
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: |