diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2021-03-25 13:53:09 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-31 06:05:51 +0000 |
commit | 001cdc7166a50e00d5e534e558abc0b6ed24e34b (patch) | |
tree | ce4087ce814af3eef3739427adcf6fcacf99b2b4 /src/mongo/db/s/sessions_collection_config_server.cpp | |
parent | ed4a32ed794c30a4926084f077ae4f7b082c6457 (diff) | |
download | mongo-001cdc7166a50e00d5e534e558abc0b6ed24e34b.tar.gz |
SERVER-53412 Mark code which needs to go away after 5.0 with the proper ticket
Diffstat (limited to 'src/mongo/db/s/sessions_collection_config_server.cpp')
-rw-r--r-- | src/mongo/db/s/sessions_collection_config_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |