summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJordi Serra Torrens <jordi.serra-torrens@mongodb.com>2021-03-04 13:05:01 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-03-04 16:53:04 +0000
commita9eb3437044734336d8ca014dffe30fe46e7077b (patch)
treed9b30a30ef5e89b5b49e42235d32fa17fc6a2626 /src
parentdbf5a5709f2e931e32d1bf3e4c2f6b9ef98c10e2 (diff)
downloadmongo-a9eb3437044734336d8ca014dffe30fe46e7077b.tar.gz
SERVER-54842: Raise time limit of commands executed as part of the addShard operation
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp b/src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp
index 0a25e7cdc7c..c6360699009 100644
--- a/src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp
+++ b/src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp
@@ -148,7 +148,7 @@ StatusWith<Shard::CommandResponse> ShardingCatalogManager::_runCommandForAddShar
auto host = std::move(swHost.getValue());
executor::RemoteCommandRequest request(
- host, dbName.toString(), cmdObj, rpc::makeEmptyMetadata(), opCtx, Seconds(30));
+ host, dbName.toString(), cmdObj, rpc::makeEmptyMetadata(), opCtx, Seconds(60));
executor::RemoteCommandResponse response =
Status(ErrorCodes::InternalError, "Internal error running command");