[MXS-711] All service ports use the same user data Created: 2016-05-04  Updated: 2016-07-26  Resolved: 2016-07-26

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 1.4.3, 2.0.0
Fix Version/s: 2.1.0

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MXS-375 User data creation can fail, but no c... Closed
relates to MXS-799 fatal signal 11 when socket could not... Closed
relates to MXS-710 Maxscale does not startup properly an... Closed

 Description   

If a service has multiple ports, they all use the same authentication data. If one port starts and another one fails to start, the user data is set to NULL. This will cause a crash when the user data is accessed (MXS-710).

Since different ports have different authentication mechanisms, it would make sense to move the authentication data away from the service and into the listeners.



 Comments   
Comment by Johan Wikman [ 2016-05-31 ]

The behavior has now been described in the Limitations document.

Since it occurs only if there are at least two listeners per Service and a mis-configuration of one of those listeners (and thus a workaround; correct the configuration), the issue is downgraded to major and scheduled for a later release.

Comment by markus makela [ 2016-07-26 ]

User data and the related cache is now stored on a per listener basis.

Generated at Thu Feb 08 04:01:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.