diff options
Diffstat (limited to 'src/mongo/db/s/config/sharding_catalog_manager.h')
-rw-r--r-- | src/mongo/db/s/config/sharding_catalog_manager.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mongo/db/s/config/sharding_catalog_manager.h b/src/mongo/db/s/config/sharding_catalog_manager.h index c3b588b8fa6..c1f94dbc46a 100644 --- a/src/mongo/db/s/config/sharding_catalog_manager.h +++ b/src/mongo/db/s/config/sharding_catalog_manager.h @@ -463,15 +463,12 @@ public: * nullptr, a name will be automatically generated; if not nullptr, it cannot * contain the empty string. * 'shardConnectionString' is the complete connection string of the shard being added. - * 'maxSize' is the optional space quota in bytes. Zero means there's no limitation to space - * usage. * * On success returns the name of the newly added shard. */ StatusWith<std::string> addShard(OperationContext* opCtx, const std::string* shardProposedName, - const ConnectionString& shardConnectionString, - long long maxSize); + const ConnectionString& shardConnectionString); /** * Tries to remove a shard. To completely remove a shard from a sharded cluster, @@ -567,8 +564,7 @@ private: StatusWith<boost::optional<ShardType>> _checkIfShardExists( OperationContext* opCtx, const ConnectionString& propsedShardConnectionString, - const std::string* shardProposedName, - long long maxSize); + const std::string* shardProposedName); /** * Validates that the specified endpoint can serve as a shard server. In particular, this |