1 file changed, 4 insertions(+), 1 deletion(-)
lib/ais/plugin.c | 5 ++++-
# HG changeset patch
# User Andrew Beekhof <[EMAIL PROTECTED]>
# Date 1226661539 -3600
# Branch stable-1.0
# Node ID 16dfe56e86371dbf150ddc338403f4b4dcad050e
# Parent 02a58e3c4155df4eb84c97ddafc078728efae27f
Dev: ais: Only reset child PIDs if we're shutting down
diff --git a/lib/ais/plugin.c b/lib/ais/plugin.c
--- a/lib/ais/plugin.c
+++ b/lib/ais/plugin.c
@@ -731,7 +731,10 @@ int ais_ipc_client_exit_callback (void *
ENTER("Client=%p", conn);
for (; lpc < SIZEOF(crm_children); lpc++) {
if(crm_children[lpc].conn == conn) {
- crm_children[lpc].pid = 0;
+ if(wait_active == FALSE) {
+ /* Make sure the shutdown loop exits */
+ crm_children[lpc].pid = 0;
+ }
crm_children[lpc].conn = NULL;
crm_children[lpc].async_conn = NULL;
client = crm_children[lpc].name;
_______________________________________________
Pacemaker mailing list
[email protected]
http://list.clusterlabs.org/mailman/listinfo/pacemaker