4
0
Эх сурвалжийг харах

With a two node cluster and one node killed, the remaining node
didn't sent the appropriate configuration changes to the clm API
or to the rest of the services.

(Logical change 1.19)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@48 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 21 жил өмнө
parent
commit
7c1c23ff33
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      exec/gmi.c

+ 1 - 1
exec/gmi.c

@@ -1692,7 +1692,7 @@ static void memb_timer_function_state_commit_timeout (void *data)
 		 * memb_list_entries only set to 0 when token times out, in which case
 		 * memb_list_entries only set to 0 when token times out, in which case
 		 * send a configuration change because no messages can be recovered in EVS
 		 * send a configuration change because no messages can be recovered in EVS
 		 */
 		 */
-		if (memb_list_entries == 0) {
+		if (memb_list_entries == 1) {
 			gmi_log_printf (gmi_log_level_notice, "I am the only member.\n");
 			gmi_log_printf (gmi_log_level_notice, "I am the only member.\n");
 			if (gmi_confchg_fn) {
 			if (gmi_confchg_fn) {
 				/*
 				/*