From 74ce21fbb3357ed1bdcf4c2d1978098c5a5782bd Mon Sep 17 00:00:00 2001 From: Zuul Date: Mon, 28 Jan 2019 16:21:02 +0000 Subject: [PATCH] Update git submodules * Update gear from branch 'master' - Merge "Prefer ipv6 for listen addrs if available" - Merge "Add support for keepalive to client" - Change openstack-dev to openstack-discuss Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: Ia1f74031b69da2d50f0404fac4698823526ecd83 - Prefer ipv6 for listen addrs if available If the listen address allows for ipv4 or ipv6 values we want to prefer ipv6 if the host is configured with working ivp6. We add the ai_flag AF_ADDRCONFIG to filter out ipv6 (and ipv4) if the host isn't configure for this AF_INET version. Then we sort based on the family to prefer ipv6 over ipv4. The reason for this is clients will prefer ipv6 before falling back to ipv4 when attempting to connect to a hostname. If the server isn't listening on ipv6 this makes new connections happen slowly. Change-Id: I9f7a235b04068856c6cceeb2c230f3b56945572e - Add support for keepalive to client A gearman client only waiting for jobs will wait indefinitely if the gearman server vanishes (e.g. due to a VM crash). In this case there is no traffic on the connection and the client blocks forever if there is nothing in between that forcefully terminates the connection. Adding tcp keepalive can mitigate that and the connection will be terminated by the kernel in this situation which then triggers a reconnect. Change-Id: I8589cd45450245a25539c051355b38d16ee9f4b9 --- gear | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gear b/gear index c00ca944db..6a7417702d 160000 --- a/gear +++ b/gear @@ -1 +1 @@ -Subproject commit c00ca944db0d6dc6ef90859b0b9b7f3a58196fb0 +Subproject commit 6a7417702d41a61b4da1c34c0b4d0e2e0038bc16