diff options
author | Pierlauro Sciarelli <pierlauro.sciarelli@mongodb.com> | 2021-06-17 14:33:42 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-17 14:58:36 +0000 |
commit | f90412db3e82dd2e6d43e63a74debc99b63b96da (patch) | |
tree | a66e8fe8cc169fdafca2f3696b9718a56b39d97c /src/mongo/db/s/sharding_ddl_util.h | |
parent | a6bd767d38ca772b626afd7f90301a9701dda85f (diff) | |
download | mongo-f90412db3e82dd2e6d43e63a74debc99b63b96da.tar.gz |
SERVER-57060 Rename of a sharded collection must bump the collection version
Diffstat (limited to 'src/mongo/db/s/sharding_ddl_util.h')
-rw-r--r-- | src/mongo/db/s/sharding_ddl_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, |