ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stanislav Lukyanov <stanlukya...@gmail.com>
Subject RE: S3 discovery and docker bridge networks
Date Sun, 23 Dec 2018 17:49:49 GMT
I thought about the same thing when using machines with Docker installed – it seems that
regex/subnet exclusion really would help.
I wonder if there are corner cases when it wouldn’t work well though.

We’d need to handle this in both TcpCommunicationSpi and TcpDiscoverySpi.
Probably even some view in IgniteConfiguration is needed, since we already have IgntieConfiguration::setLocalHost.

Do you have some sort of draft/patch?


From: David Harvey
Sent: 21 декабря 2018 г. 18:50
To: dev@ignite.apache.org
Subject: S3 discovery and docker bridge networks

The general problem is a when a node pushes its IP addresses to S3, it has
no way to tell whether one of its IP address will be usable by other
nodes.   On the consumer side, we are unable to determine at runtime which
of the addresses will work.   So we end up doing discovery using worthless
IP addresses, and then need to suffer timeouts to sort this out, slowing
down startup.

Our fix is to allow configuration of a set of exclusion patterns (regex) on
TCPCommunicationSpi, so we could exclude "192.168.*" for example.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message