From f90412db3e82dd2e6d43e63a74debc99b63b96da Mon Sep 17 00:00:00 2001 From: Pierlauro Sciarelli Date: Thu, 17 Jun 2021 14:33:42 +0000 Subject: SERVER-57060 Rename of a sharded collection must bump the collection version --- src/mongo/db/s/sharding_ddl_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/s/sharding_ddl_util.h') diff --git a/src/mongo/db/s/sharding_ddl_util.h b/src/mongo/db/s/sharding_ddl_util.h index 17bf2ba8ff7..54f2e41dd66 100644 --- a/src/mongo/db/s/sharding_ddl_util.h +++ b/src/mongo/db/s/sharding_ddl_util.h @@ -80,7 +80,7 @@ bool removeCollMetadataFromConfig(OperationContext* opCtx, const NamespaceString * - Update namespace associated with tags (FROM -> TO) * - Update FROM collection entry to TO * - * This function is idempotent. + * This function is idempotent and can just be invoked by the CSRS. */ void shardedRenameMetadata(OperationContext* opCtx, CollectionType& fromCollType, -- cgit v1.2.1