Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.15
-
None
Description
Row based replication stopped with
Last_Errno: 1677
|
Last_Error: Column 23 of table 'HALLEY.ANANCHC' cannot be converted from type 'varchar(20)' to type 'varchar(20)'
|
unless
slave_type_conversion=ALL_NON_LOSSY
|
was enabled.
The types in the error message are both `varchar(20)`, and `SHOW CREATE TABLE` output and even `.frm` file contents are exactly the same on master and slave.
There was a BINLOG'...' provided that indeed contained encoded length for the col #23 as 20 (bytes). The actual column on slave has it 60, due to UTF8.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 10.2 [ 14601 ] | |
Assignee | Andrei Elkin [ elkin ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Description |
Row based replication stopped with
{noformat} Last_Errno: 1677 Last_Error: Column 23 of table 'HALLEY.ANANCHC' cannot be converted from type 'varchar(20)' to type 'varchar(20)' {noformat} unless {noformat} slave_type_conversion=ALL_NON_LOSSY {noformat} was enabled. The types in the error message are both `varchar(20)`, and `SHOW CREATE TABLE` output and even `.frm` file contents are exactly the same on master and slave. So it's very weird that the slave con |
Row based replication stopped with
{noformat} Last_Errno: 1677 Last_Error: Column 23 of table 'HALLEY.ANANCHC' cannot be converted from type 'varchar(20)' to type 'varchar(20)' {noformat} unless {noformat} slave_type_conversion=ALL_NON_LOSSY {noformat} was enabled. The types in the error message are both `varchar(20)`, and `SHOW CREATE TABLE` output and even `.frm` file contents are exactly the same on master and slave. There was a BINLOG'...' provided that indeed contained encoded length for the col #23 as 20 (bytes). The actual column on slave has it 60, due to UTF8. |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Resolution | Cannot Reproduce [ 5 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Assignee | Andrei Elkin [ elkin ] | Sujatha Sivakumar [ sujatha.sivakumar ] |
Resolution | Cannot Reproduce [ 5 ] | |
Status | Closed [ 6 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Assignee | Sujatha Sivakumar [ sujatha.sivakumar ] | Andrei Elkin [ elkin ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Andrei Elkin [ elkin ] | Sujatha Sivakumar [ sujatha.sivakumar ] |
Assignee | Sujatha Sivakumar [ sujatha.sivakumar ] | Alexander Barkov [ bar ] |
Assignee | Alexander Barkov [ bar ] | Sujatha Sivakumar [ sujatha.sivakumar ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Fix Version/s | 10.2.27 [ 23717 ] | |
Fix Version/s | 10.3.18 [ 23719 ] | |
Fix Version/s | 10.4.8 [ 23721 ] | |
Fix Version/s | N/A [ 14700 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 97923 ] | MariaDB v4 [ 156426 ] |
Zendesk Related Tickets | 144843 |
After decoding that BINLOG'...' to discover 20 bytes for a column declared as
`a_field` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT ' ', I can only think of
that BINLOG'...' was created against a different column definition, one that would clearly lack utf8 charset.
Per direct verification 10.2.15 in particular creates BINLOG for the field with the value of 60 for its length, therefore
no conversion issue would happen, in contrast to the claim.