Просмотр исходного кода

Replace assert with a return. This will allow the custer to continue
to run. This happens when a joining node receives a message from a node
that it doesn't know about yet. This is a temporary fix for now.

(Logical change 1.169)


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

Mark Haverkamp 21 лет назад
Родитель
Сommit
fe62f602f1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      exec/evt.c

+ 1 - 1
exec/evt.c

@@ -3367,7 +3367,7 @@ static int evt_remote_chan_op(void *msg, struct in_addr source_addr,
 			log_printf(LOG_LEVEL_WARNING, 
 				"Evt remote channel op: Node data for addr %s is NULL\n",
 					inet_ntoa(source_addr));
-			assert(0);
+			return 0;
 		} else {
 			evt_add_node(source_addr, cn);
 			mn = evt_find_node(source_addr);