[MDEV-6645] Make Slave Thread and Regular Thread handle error/warning 1071 the same Created: 2014-08-26 Updated: 2014-10-14 Due: 2014-09-30 Resolved: 2014-10-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.0.13 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Chris Calender (Inactive) | Assignee: | Elena Stepanova |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows, Unix |
||
| Description |
|
Set up a replication setup with 10.0.13 as a slave (master doesn't really matter). On master, run:
This completes, provides a warning, and creates the index, albeit truncated:
However, this same warning is transformed to an error on the 10.0.13 slave, and breaks replication, and does not create the index.
BUT, if you then run the exact same command on the slave directly, it completes, issues a warning, and creates the index, as on the master:
MySQL Bugs DB has this similar/related bug: However, there is a slight difference in behavior from MySQL and MariaDB. MySQL 5.6 does not allow this index to be created, unless you have innodb_large_prefix=ON and innodb_file_per_table=ON and barracuda with DYNAMIC or COMPRESSED format (non-defaults). MariaDB 10.0 allows these indexes to be created, just not when it comes from the slave thread. The slave thread should act the same way as the command line thread. There should be no differences. And note my sql_mode='' on all instances, both at the session and global level. Also, I do not have innodb_large_prefix ON at all, so that variable is not involved. |
| Comments |
| Comment by Elena Stepanova [ 2014-08-30 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Chris, Could you please attach your cnf files for master and slave, and still specify which exactly version your master is running (even if it appears to be unimportant)? Master:
Slave:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-10-14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Closing for now as "Cannot reproduce", please comment to re-open if you have additional information. |