[MXS-4050] Out of the blue, we started getting leint_value errors Created: 2022-03-16 Updated: 2022-03-28 Resolved: 2022-03-28 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | readwritesplit |
| Affects Version/s: | 2.4.17 |
| Fix Version/s: | 2.4.20 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jeff Smelser | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Kubernetes using official maxscale docker. |
||
| Description |
|
We have a kubernetes install of maxscale, its been rock solid for months and our of the blue, we are getting: error : (8) (process_packets): Unexpected result state. cmd: 0x00, len: 120 I am trying to figure out where this error would even come from. The instance crashed and restarts, will run for a few minutes, and do it again.. Any help would be appreciated. |
| Comments |
| Comment by Johan Wikman [ 2022-03-17 ] |
|
Please provide your config, but remove all sensitive data. |
| Comment by Jeff Smelser [ 2022-03-17 ] |
|
We actually figured out the issue here. One of our teams decided to use an app to pull binary logs. We don't have that turned on and this is what happened. I feel like maxscale should handle this better than segfaulting. I understand why it obviously would not work, it just seems odd that maxscale acted like it was a completed foreign command too. Is it possible to maybe have maxscale just complain in the logs when someone requests binary logs? |
| Comment by Johan Wikman [ 2022-03-18 ] |
|
Ok, good that you found the cause. Yes, MaxScale should obviously not crash in a situation like this, but deal with it and log something sensible. |
| Comment by markus makela [ 2022-03-23 ] |
|
jsmelser_recharge did you have causal_reads enabled when this happened? |
| Comment by markus makela [ 2022-03-23 ] |
|
I managed to reproduce this with causal_reads enabled. Turning it off or upgrading to 2.5 solved this. |
| Comment by Jeff Smelser [ 2022-03-23 ] |
|
Yes and we are not really using it currently. We can turn it off. Thanks for finding that! |