[MXS-4260] Maxscale crashes frequently while performing load testing Created: 2022-08-26 Updated: 2022-10-28 Resolved: 2022-09-01 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | readwritesplit |
| Affects Version/s: | 2.5.20, 6.2.4 |
| Fix Version/s: | 6.4.3, 22.08.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Pon Suresh Pandian (Inactive) | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
RHEL7 |
||
| Attachments: |
|
| Sprint: | MXS-SPRINT-165 |
| Description |
|
Hi Team, Maxscale crash during a load test, Crash occurs in the following order, (1) Load start Here I have attached maxscale config file & log files for your reference please check it.. Crash logs:
|
| Comments |
| Comment by markus makela [ 2022-08-29 ] | ||||||||
|
The reason why it crashes is most likely due to m_current_query being null.
| ||||||||
| Comment by markus makela [ 2022-08-29 ] | ||||||||
|
Might be related to routing hints causing queries to be routed to other servers. | ||||||||
| Comment by markus makela [ 2022-08-30 ] | ||||||||
|
Turns out that having both transaction_replay and causal_reads enabled at the same time with a maxscale route to slave routing hint inside of a transaction is what caused it to happen. Hints inside transactions were supposed to be ignored when transaction replay is enabled but due to the way the query classifier decides the query type this wasn't detected early enough to prevent it. |