MXS-836: Fix retry_on_failure not working
The service start retry mechanism mistakenly returned an error when a service failed to start but a retry was queued. This caused MaxScale to stop whenever a service failed to start.
This commit is contained in:
@ -452,6 +452,9 @@ int serviceStartAllPorts(SERVICE* service)
|
||||
(void*) service, retry_after);
|
||||
MXS_NOTICE("Failed to start service %s, retrying in %d seconds.",
|
||||
service->name, retry_after);
|
||||
|
||||
/** This will prevent MaxScale from shutting down if service start is retried later */
|
||||
listeners = 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user