Bug #71565 | Please report full GTID state when stopping / start a slave | ||
---|---|---|---|
Submitted: | 3 Feb 2014 15:14 | Modified: | 2 Sep 2016 21:33 |
Reporter: | Simon Mudd (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S4 (Feature request) |
Version: | 5.6.16, 5.7.3, 5.7.14 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | windmill |
[3 Feb 2014 15:14]
Simon Mudd
[3 Feb 2014 15:51]
Simon Mudd
Perhaps for clarification this was intended to be shown when gtid_mode = ON. So please also log the gtid_mode, which also has 4 possible states (even if 2 are internal states) so that this is explicitly shown, and even if gtid_mode = OFF. Given the slave "negotiates with the master", if the I/O thread knows the master's gtid_mode then it would be useful to also log that too. If gtid_mode it is OFF these values are expected to be empty I believe so there should be no harm done in logging them. This will help with http://dev.mysql.com/worklog/task/?id=7083 which makes no mention of modifying logging to show this information and it would be very helpful here.
[2 May 2014 5:18]
Erlend Dahl
Thank you for your feature request.
[25 Nov 2015 12:47]
OCA Admin
Contribution submitted via Github - Print GTID info on STOP/START SLAVE (*) Contribution by Daniël van Eeden (Github dveeden, mysql-server/pull/32#issuecomment-159269007): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: git_patch_51631844.txt (text/plain), 3.76 KiB.
[2 Sep 2016 21:26]
Simon Mudd
Just to note that in 5.7 using log_error_verbosity = 2 (as 3 is too noisy) there's no logging of any positions when replication starts or stops so it's completely impossible to see any references to replication master or position at all. For debugging of issues, analysis of problems etc it's extremely important to record this information (including on server shutdown if applicable) and that's not visible now. Please consider ensuring this information is visible even at this verbosity level.
[29 Mar 2017 10:13]
NEHA KUMARI
Posted by developer: Yes Luis, it should be a good idea.
[20 Jul 2018 14:07]
Jean-François Gagné
Related: Bug#91741.