Bug #4935 Manual start of ndbd hangs
Submitted: 6 Aug 2004 20:19 Modified: 10 Aug 2004 17:14
Reporter: Mikael Ronström Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version: OS:
Assigned to: Mikael Ronström CPU Architecture:Any

[6 Aug 2004 20:19] Mikael Ronström
Description:
When performing an initial start manually of ndbd nodes configured
with 3 DB nodes the startup hanged

How to repeat:
When performing an initial start manually of ndbd nodes configured
with 3 DB nodes the startup hanged

Suggested fix:
In SocketClient when ::connect fails
close socket and set m_sockfd= -1
This ensures that the socket is initialised again properly next call

Otherwise the return value was EINVAL on the second connect attempt