[MDEV-9616] Unable to start slave after upgrading from 10.0.23 to 10.1.11 when parallel replication was enabled Created: 2016-02-23  Updated: 2016-08-09  Resolved: 2016-03-24

Status: Closed
Project: MariaDB Server
Component/s: Replication
Affects Version/s: 10.1.11
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Michaël de groot Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: need_feedback

Attachments: File relay-log.info    

 Description   

Hi everybody,

I did not have time to reproduce this in lab.

1. Start with two nodes running 10.0.23 and master->slave replication
2. Enable 4 parallel threads
3. Verify that relay-log.info contains parallel replication information
4. Stop slave
5. Disable parallel replication
6. Verify that relay-log.info still contains parallel replication information
7. Upgrade slave to MariaDB 10.1
8. Try to start replication
9. Verify that replication does not start with error message "Failed to initialize the master info structure"
10. Remove everything except first 4 lines in relay-log.info
11. Restart server (not sure if this is needed)
12. Replication works now



 Comments   
Comment by Elena Stepanova [ 2016-02-23 ]

Please attach the relay log file which "still contains parallel replication information", and which you edit to only leave first 4 lines.
Thanks.

Comment by Michaël de groot [ 2016-02-24 ]

Added! I also observed that the filename of the log file is cut off. Sometimes the 2nd one was cut off, some times the third one.

Thank you again

Comment by Elena Stepanova [ 2016-02-24 ]

Thanks.
Please also paste or attach the error log – all of it, not just the last "Failed to initialize the master info structure", and the config file(s).

The relay info file looks quite weird, not just because of the broken file name, but the whole thing, so there might be a variety of things that the server didn't like.

By the way, since your major complaint was "after upgrading" and "when parallel replication was enabled" – are you able to start 10.0 slave with this relay info file, with or without parallel replication?

Comment by Elena Stepanova [ 2016-03-24 ]

Please comment to re-open if you have further information on the issue.

Comment by Kristian Nielsen [ 2016-08-09 ]

This could easily have been a duplicate of MDEV-9383.

Generated at Thu Feb 08 07:36:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.