Explorar el Código

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 hace 17 años
padre
commit
795e573c20
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  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);
 }