[MXS-2331] Slave server 'server2': response (0xff) differs from master's response (0x00) to COM_QUERY Created: 2019-02-14 Updated: 2019-03-04 Resolved: 2019-03-04 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | readwritesplit |
| Affects Version/s: | 2.3.4 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Dmitry Petrich | Assignee: | markus makela |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | galera, replication | ||
| Environment: |
CentOS Linux release 7.6.1810 (Core)
|
||
| Issue Links: |
|
||||||||
| Description |
|
[Galera Service] /var/log/messages: I've remark options: Because in this case, error messages just suppressed, but the issue still exists. I saw closed bug |
| Comments |
| Comment by markus makela [ 2019-02-14 ] | |||
|
This message is most likely caused by the fact that the database hasn't had time to replicate to the server that fails to change the default database:
The errors about the SET statements are most likely caused by missing variables. Here's an example of what happens if the variable is not set:
This isn't related to | |||
| Comment by markus makela [ 2019-02-14 ] | |||
|
My apologies, I missed the fact that you have use_sql_variables_in=master in your configuration. Try removing that and the commands that failed due to missing user variables should work. | |||
| Comment by Dmitry Petrich [ 2019-02-15 ] | |||
|
In my case use_sql_variables_in=mastert is important: Feb 15 17:15:15 scsmondb18ms maxscale[15836]: (259) The query can't be routed to all backend servers because it includes SELECT and SQL variable modifications which is not supported. Set use_sql_variables_in=master or split the query to two, where SQL variable modifications are done in the first and the SELECT in the second one. | |||
| Comment by markus makela [ 2019-02-18 ] | |||
|
I'm afraid that this is not a bug but expected behavior in the current version. Once | |||
| Comment by Dmitry Petrich [ 2019-03-04 ] | |||
|
Thank you, Markus! If so, then the case can be closed for now. |