OpenSearch/modules/transport-netty4/src/test
Jason Tedor 4c06b8f1d2 Check for closed connection while opening
While opening a connection to a node, a channel can subsequently
close. If this happens, a future callback whose purpose is to close all
other channels and disconnect from the node will fire. However, this
future will not be ready to close all the channels because the
connection will not be exposed to the future callback yet. Since this
callback is run once, we will never try to disconnect from this node
again and we will be left with a closed channel. This commit adds a
check that all channels are open before exposing the channel and throws
a general connection exception. In this case, the usual connection retry
logic will take over.

Relates #26932
2017-10-10 13:34:51 -04:00
..
java/org/elasticsearch Check for closed connection while opening 2017-10-10 13:34:51 -04:00
resources/rest-api-spec/test Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00