Bug #70818 | Implement CHANGE MASTER exec_log_pos | ||
---|---|---|---|
Submitted: | 5 Nov 2013 11:13 | Modified: | 7 Nov 2013 18:21 |
Reporter: | Akshay Suryawanshi (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S4 (Feature request) |
Version: | 5.5.33 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | CHANGE MASTER, error log |
[5 Nov 2013 11:13]
Akshay Suryawanshi
[5 Nov 2013 19:43]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Please read at http://dev.mysql.com/doc/refman/5.5/en/change-master-to.html: 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. So you are changing read position, not exec position.
[6 Nov 2013 11:09]
Akshay Suryawanshi
Thanks for comment Sveta. We ran through the code, and yes the CHANGE MASTER really affects the SLAVE_IO thread and hence the read_master_log_pos. However, can we request the addition of the SLAVE_SQL thread info as well, i.e. including exec_master_log_pos and Relay_Master_Log_File too. This will help in diagnosing replication failures, via the error log, which is its main purpose.
[7 Nov 2013 18:21]
Sveta Smirnova
Of course, we can file this as a feature request. But I changed the request title to "Implement CHANGE MASTER exec_log_pos", so it better reflects current state. If you disagree simply propose your title.