[MXS-1642] Unexpected length encoding 'ff' Created: 2018-02-01 Updated: 2018-03-20 Resolved: 2018-03-20 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | avrorouter |
| Affects Version/s: | 2.2.1 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Franck Leveneur | Assignee: | markus makela |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I currently have Maxscale binlogrouter pointing to a Persona MySQL server (on the same server). When I insert a transaction INSERT INTO `trans` (`trans_id`, `trans_parent_id`, .....) Transaction goes through in Mysql, I see Avrorouter detecting it but it complains about Unexpected length encoding. I'm not sure if that error is responsible for the other errors. (different columns count, and fail to open file) Looks like it's related to Inserted a transaction and it failed (see below). 2018-02-01 13:21:37 info : [avrorouter] Stopped processing file mysql-bin.000001 at position 13514. Waiting until more data is written before continuing. Next check in 15 seconds. |
| Comments |
| Comment by markus makela [ 2018-02-06 ] | ||||||||||||||||||||||||||||||
|
One thing that I noted is that the log contains an error about column count mismatch for the binary table format. This usually means that the binary logging in the master does not use the full row image for replication. You can enable this by adding binlog-format=ROW to the configuration. If possible, please check whether this solves the problem. | ||||||||||||||||||||||||||||||
| Comment by Franck Leveneur [ 2018-02-06 ] | ||||||||||||||||||||||||||||||
|
I did verify that binlog = row and I use full image. mysql> select @@version ;
---------------
--------------- ----------------------------------------
----------------------------------------
| ||||||||||||||||||||||||||||||
| Comment by markus makela [ 2018-02-07 ] | ||||||||||||||||||||||||||||||
|
If possible, please try with the latest development version of the 2.1 packages. These should be mostly equivalent with 2.2 packages with regards to the avrorouter. You can find the packages here: http://max-tst-01.mariadb.com/ci-repository/2.1/mariadb-maxscale/ Remember to first remove the old installation, clean out any files in /var/lib/maxscale/ and then install the 2.1 package. | ||||||||||||||||||||||||||||||
| Comment by markus makela [ 2018-03-05 ] | ||||||||||||||||||||||||||||||
|
fleveneur any updates? | ||||||||||||||||||||||||||||||
| Comment by markus makela [ 2018-03-20 ] | ||||||||||||||||||||||||||||||
|
No updates, closing as Incomplete. Once you've tested this with latest 2.1, please open this again if it still happens. |