Bug #58651 | relay log is created on master or standalone server | ||
---|---|---|---|
Submitted: | 2 Dec 2010 9:16 | Modified: | 16 Jul 2011 13:33 |
Reporter: | Paolini Julia | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 5.0.77 | OS: | Linux (RHEL 5.5) |
Assigned to: | CPU Architecture: | Any | |
Tags: | relay log |
[2 Dec 2010 9:16]
Paolini Julia
[2 Dec 2010 9:18]
Paolini Julia
The mysqld-relay-bin.index file contains the entire list of all mysqld-relay-bin.XXXXXX created.
[2 Dec 2010 12:45]
Susanne Ebrecht
please show output from: SHOW SLAVE STATUS\G
[3 Jan 2011 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[3 Jan 2011 10:05]
Paolini Julia
Seems that it happens when I import a dump where the command 'CHANGE MASTER TO' is present (due to the option master-data of mysqldump). Don't think it was happening before.
[3 Jan 2011 10:11]
Paolini Julia
In response to Suzanne (sorry, I didn't reply to your message earlier): mysql> show slave status\G; Empty set (0.00 sec) ERROR: No query specified
[9 Feb 2011 14:33]
Valeriy Kravchuk
If CHANGE MASTER TO is executed (thus trying to make server a slave), why do you think there is any bug here?
[11 Feb 2011 10:26]
Paolini Julia
Previously, if the server was not set up as a slave (no informations about being a slave in the my.cnf, nor files like master.info in /var/lib/mysql), CHANGE MASTER did not make the server act like a slave. It was convenient for some scenarii, like I could have a master/slave configuration and need to import on the master a dump made on the master because of a problem with the data.
[16 Jul 2011 13:33]
Valeriy Kravchuk
Our manual, http://dev.mysql.com/doc/refman/5.0/en/change-master-to.html, clearly says: "CHANGE MASTER TO changes the parameters that the slave server uses for connecting to the master server, for reading the master binary log, and reading the slave relay log. It also updates the contents of the master.info and relay-log.info files." So, no matter what happened (or seemed to happen in the past), this is not a bug.