Github user jerryshao commented on a diff in the pull request:
https://github.com/apache/spark/pull/18922#discussion_r133387011
--- Diff:
common/network-common/src/main/java/org/apache/spark/network/client/TransportClientFactory.java
---
@@ -210,6 +210,18 @@ private TransportClient createClient(InetSocketAddress
address)
.option(ChannelOption.CONNECT_TIMEOUT_MILLIS,
conf.connectionTimeoutMs())
.option(ChannelOption.ALLOCATOR, pooledAllocator);
+ if (conf.backLog() > 0) {
+ bootstrap.option(ChannelOption.SO_BACKLOG, conf.backLog());
--- End diff --
It is really used for Client bootstrap? AFAIK backlog is mainly used in
server side to cache the incoming connections.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]