Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
2.2.2
-
None
-
MXS-SPRINT-53
Description
We need to improve log msg about the maxscale startup process so we can know how many listeners are started and how many are left and if remaining are failed then what was the reason? Recently, we saw one issue where maxscale was not starting and giving error like "error : [binlogrouter] Could not post ' ' message to main worker"
The reason behind it was, while having multiple listeners, it was taking time to load all user data from the backend servers. The default value of TimeoutStartSec in maxscale.service for MaxScale is 120. If all listeners do not start before 120 seconds then it got timed out but we didn't get this information in maxscale log. More descriptive log message will help a lot.