zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bensherman <...@git.apache.org>
Subject [GitHub] zookeeper pull request #274: Zookeeper 1748: Add option for tcp keepalive
Date Mon, 05 Jun 2017 23:40:24 GMT
GitHub user bensherman opened a pull request:

    https://github.com/apache/zookeeper/pull/274

    Zookeeper 1748: Add option for tcp keepalive

    As referenced in https://issues.apache.org/jira/browse/ZOOKEEPER-1748 and https://github.com/apache/zookeeper/pull/83,
add the option to use keepalived on quorum connections.  These connections are often idle
and long-lived, thus tend to be silently dropped by intermediate networking infrastructure
(AWS Security Groups' state tables, for example).
    
    This PR adds the option to use the system's keepalive functionality when creating the
socket for quorum connections.  
    
    It does not change existing behavior.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bensherman/zookeeper ZOOKEEPER-1748

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zookeeper/pull/274.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #274
    
----
commit 0f7ece14df76cba5170c0442ebedec31cf6fb4b9
Author: Ben Sherman <bsherman@axon.com>
Date:   2017-06-05T21:56:14Z

    Added option to use tcp keep alives.

commit 820c628ea05fbdd5477083fa77db55a4f0e8812f
Author: Ben Sherman <bsherman@axon.com>
Date:   2017-06-05T22:34:59Z

    document tcpKeepAlive option

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message