[MXS-585] Intermittent connection failure with MaxScale 1.2/1.3 using MariaDB/J 1.3 Created: 2016-02-18 Updated: 2016-08-11 Resolved: 2016-03-18 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | mariadbclient |
| Affects Version/s: | 1.3.0, 1.4.0 |
| Fix Version/s: | 1.4.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Guillaume Lefranc | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Environment: Test case with Simple python2 script (install jaydebeapi lib with pip first)
After some iterations:
|
| Comments |
| Comment by markus makela [ 2016-02-18 ] |
|
This was caused by using the buffer length instead of the SQL packet in the authentication response length calculation. |
| Comment by markus makela [ 2016-03-18 ] |
|
This has reappeared in 1.4.0. |
| Comment by markus makela [ 2016-03-18 ] |
|
The reason for the regression is the assumption made by the client protocol. It assumed that the complete packet was read into contiguous memory. |
| Comment by markus makela [ 2016-03-18 ] |
|
The authentication now always uses contiguous memory when reading the network packets. |