From 001cdc7166a50e00d5e534e558abc0b6ed24e34b Mon Sep 17 00:00:00 2001 From: Kaloian Manassiev Date: Thu, 25 Mar 2021 13:53:09 -0400 Subject: SERVER-53412 Mark code which needs to go away after 5.0 with the proper ticket --- src/mongo/db/s/sessions_collection_config_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/s/sessions_collection_config_server.cpp') diff --git a/src/mongo/db/s/sessions_collection_config_server.cpp b/src/mongo/db/s/sessions_collection_config_server.cpp index 28be7027d74..a9c7788ec92 100644 --- a/src/mongo/db/s/sessions_collection_config_server.cpp +++ b/src/mongo/db/s/sessions_collection_config_server.cpp @@ -63,7 +63,7 @@ void SessionsCollectionConfigServer::_shardCollectionIfNeeded(OperationContext* << ": cannot create the collection until there are shards", Grid::get(opCtx)->shardRegistry()->getNumShardsNoReload() != 0); - // First, shard the sessions collection to create it. + // TODO (SERVER-54879): Switch this to call cluster::createCollection after 5.0 branches ConfigsvrShardCollectionRequest shardCollection; shardCollection.set_configsvrShardCollection(NamespaceString::kLogicalSessionsNamespace); shardCollection.setKey(BSON("_id" << 1)); -- cgit v1.2.1