|
|
@@ -268,6 +268,13 @@ static int totem_volatile_config_validate (
|
|
|
goto parse_error;
|
|
|
}
|
|
|
|
|
|
+ if (totem_config->consensus_timeout < totem_config->join_timeout) {
|
|
|
+ snprintf (local_error_reason, sizeof(local_error_reason),
|
|
|
+ "The consensus timeout parameter (%d ms) may not be less than join timeout (%d ms).",
|
|
|
+ totem_config->consensus_timeout, totem_config->join_timeout);
|
|
|
+ goto parse_error;
|
|
|
+ }
|
|
|
+
|
|
|
if (totem_config->merge_timeout < MINIMUM_TIMEOUT) {
|
|
|
snprintf (local_error_reason, sizeof(local_error_reason),
|
|
|
"The merge timeout parameter (%d ms) may not be less than (%d ms).",
|