[MDEV-7868] multisource replication - replicate_do_db doubled from config file Created: 2015-03-29 Updated: 2015-10-23 Resolved: 2015-06-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.0.17 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Daniel Black | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
x86_64, rhel6, 5.5 master , 10.0.17 slave |
||
| Description |
|
two multisource replication connections exist and the replicate-do-db value is duplicated on slave:
|
| Comments |
| Comment by Elena Stepanova [ 2015-03-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It's an obvious question, but still – are you sure you don't have the option also in some other section of the cnf, or in a different cnf, or on a command line? You know that the values get concatenated, so it would look exactly like that. I got the very same duplication initially, but then I realized that I had it both in the cnf file and on the command line. Once I removed it from the command line, no duplication:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2015-03-31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This is how the init script initialised ran mysqld:
not sure if its used however /etc/my.cnf has
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-03-31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Yes, it's used, and so your /etc/my.cnf.d/testonly.cnf is included twice, hence the double value. At least that's my theory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-06-01 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I assume the above explains the mystery. If not, please let us know. |