Skip to content

Commit cd90d9c

Browse files
committed
[fix](s3-client) Fix s3-client max-connection default value which cause s3 to be slow and unable to handle high concurrency in many-files scenarios. (apache#58511)
### What problem does this PR solve? Issue Number: close #xxx Related PR: apache#51825, apache#58514 Problem Summary: ### Release note Fix s3-client max-connection default value introduced by apache#51825 which cause s3 to be slow and unable to handle high concurrency in many-files scenarios.
1 parent 245be9f commit cd90d9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

be/src/util/s3_util.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,7 @@ std::shared_ptr<io::ObjStorageClient> S3ClientFactory::_create_s3_client(
369369
if (s3_conf.max_connections > 0) {
370370
aws_config.maxConnections = s3_conf.max_connections;
371371
} else {
372-
// AWS SDK max concurrent tcp connections for a single http client to use. Default 25.
373-
aws_config.maxConnections = std::max(config::doris_scanner_thread_pool_thread_num, 25);
372+
aws_config.maxConnections = 102400;
374373
}
375374

376375
aws_config.requestTimeoutMs = 30000;

0 commit comments

Comments
 (0)