Skip to content
Snippets Groups Projects
Commit c9874eb2 authored by Moe Jette's avatar Moe Jette
Browse files
parent a2642452
No related branches found
No related tags found
No related merge requests found
...@@ -105,6 +105,7 @@ documents those changes that are of interest to users and admins. ...@@ -105,6 +105,7 @@ documents those changes that are of interest to users and admins.
========================= =========================
- BLUEGENE - make sure the order of blocks read in from the bluegene.conf - BLUEGENE - make sure the order of blocks read in from the bluegene.conf
are created in that order (static mode). are created in that order (static mode).
- Fix logic in connect(), slurmctld fail-over was broken in v1.1.18.
* Changes in SLURM 1.1.18 * Changes in SLURM 1.1.18
========================= =========================
......
...@@ -588,8 +588,14 @@ extern int _slurm_connect (int __fd, struct sockaddr const * __addr, ...@@ -588,8 +588,14 @@ extern int _slurm_connect (int __fd, struct sockaddr const * __addr,
poll_rc = poll(&ufds, 1, 5000); poll_rc = poll(&ufds, 1, 5000);
if (poll_rc == 0) if (poll_rc == 0)
errno = ETIMEDOUT; errno = ETIMEDOUT;
else if (poll_rc == 1) else if (poll_rc == 1) {
rc = 0; /* poll successfully completed */
if (ufds.revents & POLLERR)
debug2("connect failure");
else
rc = 0;
} else
error("poll: %m");
} }
fcntl(__fd, F_SETFL, flags); fcntl(__fd, F_SETFL, flags);
return rc; return rc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment