[torqueusers] Re: SC
Dave Jackson
jacksond at supercluster.org
Tue Nov 16 16:37:26 MST 2004
Garrick,
Thanks! Patch is in place in the latest 1.1.0p5 snapshot
Dave
On Tue, 2004-11-16 at 14:18, Garrick Staples wrote:
> The server incorrectly clearing offline nodes is still a problem.
>
>
> diff -ruN torque-1.1.0p4_orig/src/server/node_manager.c torque-1.1.0p4/src/server/node_manager.c
> --- torque-1.1.0p4_orig/src/server/node_manager.c 2004-10-28 15:50:48.000000000 -0700
> +++ torque-1.1.0p4/src/server/node_manager.c 2004-10-29 13:28:06.000000000 -0700
> @@ -873,7 +873,14 @@
>
> tdelete((u_long)node->nd_stream,&streams);
>
> - node->nd_state = INUSE_UNKNOWN;
> + if (node->nd_state & INUSE_OFFLINE)
> + {
> + node->nd_state = (INUSE_UNKNOWN|INUSE_OFFLINE);
> + }
> + else
> + {
> + node->nd_state = INUSE_UNKNOWN;
> + }
> node->nd_stream = -1;
>
> /* do a ping in 5 seconds */
More information about the torqueusers
mailing list