[MDEV-9490] MariaDB Galera Cluster does not enforce slave_type_conversions Created: 2016-01-29 Updated: 2018-02-16 Resolved: 2016-03-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation, Galera |
| Affects Version/s: | 10.2.13 |
| Fix Version/s: | 10.0.25-galera |
| Type: | Bug | Priority: | Major |
| Reporter: | Guillaume Lefranc | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Documentation | ||
| Environment: |
CentOS 6 |
||
| Issue Links: |
|
||||||||
| Description |
|
Test case on two node cluster:
Failure on node 1:
|
| Comments |
| Comment by Nirbhay Choubey (Inactive) [ 2016-03-04 ] | ||||||
|
This issue also affects traditional replication. | ||||||
| Comment by Stefan Midjich [ 2016-03-04 ] | ||||||
|
Not sure if I have the same issue.
I was doing an alter table to change varchar(16) to varchar(32) on mariadb 10.1 using innodb. The table was about 50 million lines. It was blocking connections so I stupidly aborted the query on master01. Master02 continued the query as system user so I could not kill it. I took master01 out of cluster, let master02 continue and was planning on using master02 as donor when it had finished. All worked well until progress of alter table query was at around 55.000 and then this error was logged and the node went down. After that I had to restore the node with the most recent data with wsrep-new-cluster and restore the cluster. {{[ERROR] Slave SQL: Column 7 of table 'netadmin_logging.sla_acct' cannot be converted from type 'varchar(16)' to type 'varchar(32)', Internal MariaDB error code: 1677 | ||||||
| Comment by Nirbhay Choubey (Inactive) [ 2016-03-08 ] | ||||||
|
Its an expected behavior. The KB entry has been updated to reflect the correct behavior. |