diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2020-04-03 17:19:37 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-03 21:42:37 +0000 |
commit | 237c00f5df07bc7f1481c9dba0de78eddda8ef2e (patch) | |
tree | 0e16ec394e25e13f298a89d45a626ee7309dbff7 /src/mongo | |
parent | c0c03f1024d616b061542d56e8670b05c05539c7 (diff) | |
download | mongo-237c00f5df07bc7f1481c9dba0de78eddda8ef2e.tar.gz |
SERVER-46711 Ensure warm connection pool on startup timeout is >= 0.
Adds a validator to the
warmMinConnectionsInShardingTaskExecutorPoolOnStartupWaitMS
server parameter.
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/s/mongos_server_parameters.idl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/mongos_server_parameters.idl b/src/mongo/s/mongos_server_parameters.idl index b4f2357296d..956ce09d990 100644 --- a/src/mongo/s/mongos_server_parameters.idl +++ b/src/mongo/s/mongos_server_parameters.idl @@ -59,6 +59,8 @@ server_parameters: cpp_vartype: int cpp_varname: "gWarmMinConnectionsInShardingTaskExecutorPoolOnStartupWaitMS" default: 2000 # 2secs + validator: + gte: 0 readHedgingMode: description: >- |