cluster/ccs/daemon cluster_mgr.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2006-10-17 16:46:53
Modified files:
ccs/daemon : cluster_mgr.c
Log message:
Get notifications BEFORE getting state otherwise we have a race condition. probably fixes bz#210732
ccs/daemon/cluster_mgr.c +3 -1
@@ -431,6 +431,8 @@ ppid =0 ; } +cman_start_notification (handle, cman_callback); + cman_fd =cman_get_fd (handle); quorate =cman_is_quorate (handle);
@@ -438,7 +440,7 @@ members =get_member_list (handle); -cman_start_notification (handle, cman_callback); +while (1 ) {