[MXS-2538] MaxScale sends wrong charset in some cases Created: 2019-05-31  Updated: 2020-01-08  Resolved: 2019-06-03

Status: Closed
Project: MariaDB MaxScale
Component/s: Protocol
Affects Version/s: 2.2.21, 2.3.7
Fix Version/s: 2.2.22, 2.3.8

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


 Description   

The client protocol uses the first server reference in a service regardless of its state. If MaxScale has never connected to the first server and a valid session is established, the default latin1 charset will be sent in the server handshake. The correct thing to do would be to sort the servers in order of their priority (MasterSlaveRunning) and pick the charset based on that.


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