[MXS-1931] Debug assertion in is_large_query fails Created: 2018-06-18 Updated: 2018-06-19 Resolved: 2018-06-19 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | mariadbclient |
| Affects Version/s: | 2.2.9 |
| Fix Version/s: | 2.2.10 |
| Type: | Bug | Priority: | Major |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The following debug assertion in the is_large_query function fails in 2.2.
The number of bytes in the buffer is larger than the packet size which means that more than one packet was routed. |
| Comments |
| Comment by markus makela [ 2018-06-18 ] |
|
Without a debug build, this manifests itself as a hang. I am not certain that this will always cause problems or that the end result will always be a hang; the bug can behave in a way that causes an unexpected response from the backend which could be silently ignored. |