| Bug #72660 | relay-log and log-bin settings permitted to use the same namespace | ||
|---|---|---|---|
| Submitted: | 15 May 2014 16:19 | Modified: | 19 May 2014 6:53 |
| Reporter: | Morgan Tocker | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
| Version: | 5.6.17 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[15 May 2014 16:19]
Morgan Tocker
[15 May 2014 19:39]
Rob Rankin
Settings in use that caused the issue: relay-log = "D:/mysql_logs/server01" log_bin = "D:/mysql_logs/server01.log" log-slave-updates
[15 May 2014 19:40]
Rob Rankin
Log update/ordering times and sizes
Attachment: Screen Shot 2014-05-14 at 8.59.19 PM.png (image/png, text), 31.13 KiB.
[15 May 2014 19:42]
Rob Rankin
Master version: 5.5.33-log Slave version: 5.5.20-log
[19 May 2014 6:53]
MySQL Verification Team
Hello Morgan, Thank you for the bug report. Verified as described. Thanks, Umesh
[19 May 2014 7:00]
MySQL Verification Team
// Master/Slave with 5.6.17
// Setup slave with binary log enabled and log-bin and relay-log sharing common name
mysql> \! more slave.cnf|grep "log-bin =\|relay-log ="
log-bin = master-bin
relay-log = master-bin
mysql> show slave status\G
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: XXX.X.X.X
Master_User: repl
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: master-bin.000003
Read_Master_Log_Pos: 813
Relay_Log_File: master-bin.000005
Relay_Log_Pos: 284
Relay_Master_Log_File: master-bin.000003
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
mysql> \! more /tmp/slave/master-bin.index /tmp/slave/slave-relay-bin.index
::::::::::::::
/tmp/slave/master-bin.index
::::::::::::::
./master-bin.000001
./master-bin.000002
./master-bin.000003
::::::::::::::
/tmp/slave/slave-relay-bin.index
::::::::::::::
./master-bin.000004
./master-bin.000005
