Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.2.4, 7.0.6, 7.1.6
-
Untriaged
-
0
-
Unknown
Description
If connection attempt to remote epmd (port 4369) takes more than 7 seconds (for example if port is blocked by a firewall), any erlang distribution connection attempt will fail with reason timeout. Note that this will happen even when empd is not needed (it is not needed in most of the cases).
I think it should be ok to set a 2 second timeout for the erl_epmd:port_please(NodeName, IpAddr, Timeout) call in cb_dist in order to fix it. Basically in the worst case all connection attempts between nodes will take 2 seconds more than it normally would take, which should be ok.
7.6 is not affected because we removed any epmd support there.
Attachments
For Gerrit Dashboard: MB-61419 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
208126,2 | MB-61419: Set timeout for erl_epmd:port_please/3 call | neo | ns_server | Status: MERGED | +2 | +1 |
208832,1 | Merge remote-tracking branch 'couchbase/neo' | trinity | ns_server | Status: MERGED | +2 | +1 |
208836,1 | Merge remote-tracking branch 'couchbase/trinity' | master | ns_server | Status: MERGED | +2 | +1 |