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

If there is no quorum provider specified, then always return quorate.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1713 fd59a12c-fef9-0310-b244-a6a79926bd2f
Christine Caulfield 17 лет назад
Родитель
Сommit
795e573c20
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      exec/vsf_quorum.c

+ 6 - 0
exec/vsf_quorum.c

@@ -303,6 +303,12 @@ static int quorum_exec_init_fn (struct corosync_api_v1 *api)
 			quorum_iface->init (api, quorum_api_set_quorum);
 		}
 	}
+	else {
+		/*
+                 * With no quorum provider, we are always quorate 
+                 */
+		primary_designated = 1;
+	}
 
 	return (0);
 }