|
|
@@ -925,6 +925,14 @@ static char *votequorum_readconfig_static(void)
|
|
|
return ((char *)"configuration error: quorum device is not compatible with auto_tie_breaker feature");
|
|
|
}
|
|
|
|
|
|
+ if ((have_qdevice) && (wait_for_all)) {
|
|
|
+ /*
|
|
|
+ * TODO: disable compat for now. There is a problem on expected_votes vs local votes
|
|
|
+ * when starting qdevice on one node only that makes cluster quorate view not correct.
|
|
|
+ */
|
|
|
+ return ((char *)"configuration error: quorum device is not compatible with wait_for_all feature");
|
|
|
+ }
|
|
|
+
|
|
|
LEAVE();
|
|
|
|
|
|
return (NULL);
|
|
|
@@ -995,6 +1003,12 @@ static void votequorum_readconfig_dynamic(void)
|
|
|
update_qdevice_can_operate(0);
|
|
|
}
|
|
|
|
|
|
+ if ((have_qdevice) && (wait_for_all)) {
|
|
|
+ log_printf(LOGSYS_LEVEL_CRIT, "configuration error: quorum.device is not compatible with wait_for_all");
|
|
|
+ log_printf(LOGSYS_LEVEL_CRIT, "disabling quorum device operations");
|
|
|
+ update_qdevice_can_operate(0);
|
|
|
+ }
|
|
|
+
|
|
|
/*
|
|
|
* if user specifies quorum.expected_votes + quorum.device but NOT the device.votes
|
|
|
* we don't know what the quorum device should vote.
|