Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Not a Bug
-
Affects Version/s: 10.0.17
-
Fix Version/s: N/A
-
Component/s: Replication
-
Labels:
-
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:
config file:
replicate-do-db=X_20150210
select @@replicate_do_db;
+---------------------------------+
| @@replicate_do_db |
+---------------------------------+
| X_20150210,X_20150210 |
> show slave '5.5' status\G
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: localhost
Master_User: repl
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: tulwaurt005-mysql-bin.000710
Read_Master_Log_Pos: 368431778
Relay_Log_File: tulwaurt005-relay-bin-5@002e5.000015
Relay_Log_Pos: 50253691
Relay_Master_Log_File: tulwaurt005-mysql-bin.000710
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB: X_20150210,X_20150210
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
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:
MariaDB [test]> show slave '5.5' status \G *************************** 1. row *************************** ... Replicate_Do_DB: X_20150210 ...MariaDB [test]> show slave '10.0' status \G *************************** 1. row *************************** ... Replicate_Do_DB: X_20150210 ...