[MDEV-8291] Parallel replication causes slave threads to not pick up new global config after restart Created: 2015-06-09 Updated: 2015-06-10 Resolved: 2015-06-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.0, 10.1 |
| Fix Version/s: | 10.0.20 |
| Type: | Bug | Priority: | Major |
| Reporter: | Michaël de groot | Assignee: | Kristian Nielsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | parallelslave | ||
| Environment: |
CentOS 6.6 |
||
| Issue Links: |
|
||||||||||||
| Description |
|
This issue only occurs when parallel replication is enabled. It seems configuration changes are not picked up after restarting the slave. Reproduce:
On master:
On slave, witness:
On slave, execute:
On slave, witness:
On slave, execute:
Error goes away. |
| Comments |
| Comment by Elena Stepanova [ 2015-06-10 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
Technically, the reason is understandable: even if the slave stops, parallel threads aren't, so they are not restarted, so they cannot pick up the changed value. See also | |||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kristian Nielsen [ 2015-06-10 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
Duplicate of
Worker threads are stopped when all slave threads are stopped. In earlier versions (or in case of hitting
| |||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-06-10 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
Something is not right, it can't be a duplicate of | |||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kristian Nielsen [ 2015-06-10 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
Ok, let's call it a duplicate of Basically, before After However, there was a bug with the After fix of Note that in the case of multi-source, all slaves must be stopped at once | |||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-06-10 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
Closing as fixed in 10.0.20 because it should go away after a fix for the root cause – |