[MXS-662] No Listener on different IPs but same port since 1.4.0 Created: 2016-04-04  Updated: 2016-04-15  Resolved: 2016-04-15

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 1.4.0, 1.4.1
Fix Version/s: 1.4.2

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

Debian 8.4 amd64 KVM



 Description   

Up until version 1.3.0 of MaxScale it was possible to define separate listeners on different IP address but using the same port like so:

[Read-Write Service]
type=service
router=readwritesplit
servers=myc1d1,myc1d2
user=auser
passwd=secretpw
master_accept_reads=true
use_sql_variables_in=master
 
[Read-Write Listener]
type=listener
service=Read-Write Service
protocol=MySQLClient
address=172.16.49.70
port=3306
 
[Internal-RW Listener]
type=listener
service=Read-Write Service
protocol=MySQLClient
address=192.168.129.240
port=3306

Since MaxScale 1.4.0 the same config will result in:

Apr  4 22:53:08 myc1-dev-01 maxscale[10481]: Initialise readconnroute router module V1.1.0.
Apr  4 22:53:08 myc1-dev-01 maxscale[10481]: Loaded module readconnroute: V1.1.0 from /usr/lib/x86_64-linux-gnu/maxscale/libreadconnroute.so
Apr  4 22:53:08 myc1-dev-01 maxscale[10481]: Listener 'Read-Write Listener', for service 'Read-Write Service', already have port 3306.

And the MaxScale service refusing to start. Expected behavior would be the one from 1.3.0: just work.



 Comments   
Comment by markus makela [ 2016-04-15 ]

The address of a listener was ignored.

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