No errors were logged when a service has no listeners
The starting of a service without listeners would fail but there wouldn't be any log messages about the reason of the failure. In addition to this, MaxScale would try to restart the service periodically which would lead to unnecessary error messages. With this change, missing listeners for services are considered configuration errors.
This commit is contained in:
@ -264,5 +264,6 @@ extern void service_shutdown();
|
||||
extern int serviceSessionCountAll();
|
||||
extern RESULTSET *serviceGetList();
|
||||
extern RESULTSET *serviceGetListenerList();
|
||||
extern bool service_all_services_have_listeners();
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user