[MDEV-8345] STOP SLAVE should not cause an ERROR to be logged to the error log Created: 2015-06-20 Updated: 2016-10-26 Resolved: 2016-10-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.0.19, 10.1.5 |
| Fix Version/s: | 10.0.28, 10.1.19 |
| Type: | Bug | Priority: | Major |
| Reporter: | Chris Calender (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | upstream-fixed | ||
| Environment: |
Linux, Windows |
||
| Description |
|
If you issue a STOP SLAVE on any slave (tested on 10.0.19 and 10.1.5), you will see an "ERROR" logged to the error log:
Error log:
The "[Note]"s are fine, but the "[Error]" is not. It then causes monitoring soulutions (MONyog, et al) to then issue alerts. The same happens in MySQL, but it is fixed in 5.7.0: https://bugs.mysql.com/bug.php?id=61275 It would be nice if we could fix this for 10.0 and 10.1, however. |
| Comments |
| Comment by Elena Stepanova [ 2015-06-20 ] | ||||||||||||||||||||
|
So-called "internally filed bug", which Bug #61275 refers to, is in fact Bug #53955 - Error 2013 + "Error reading relay log event" on STOP SLAVE in Windows. Here is the commit comment for this bugfix:
| ||||||||||||||||||||
| Comment by Michaël de groot [ 2016-05-12 ] | ||||||||||||||||||||
|
To me (looking at another log) it seams this error pops up before killing the IO thread instead of after killing the SQL thread. | ||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-05-12 ] | ||||||||||||||||||||
|
Did anyone say that it has anything to do with SQL thread? I don't see anything like that here. |