Bug #31643 | Setting an event to 'disable on slave' disables it on the master | ||
---|---|---|---|
Submitted: | 16 Oct 2007 15:26 | Modified: | 3 Dec 2008 14:28 |
Reporter: | Omer Barnir (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S3 (Non-critical) |
Version: | 5.1.22 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[16 Oct 2007 15:26]
Omer Barnir
[3 Dec 2008 14:53]
Konstantin Osipov
Give a syntax error in the parser unless thd->slave_thread.
[8 May 2009 13:41]
Joe Grasse
What if you have a master-master setup. Which would be the true "master"? I believe that the ALTER EVENT DISABLE ON SLAVE should only take affect on the host you are on, and it should not be replicated, which is NOT what it currently does. The ALTER EVENT ENABLE should enable on the host you are on and slave disable everywhere else, which is what it currently does.
[25 Sep 2009 13:33]
Andrey Hristov
The event should be disabled on the slave, if not, then it will run there and we will get double executions.
[10 Feb 2011 2:34]
Jacek Pawlowski
Any plans to fix it? I am using 5.1.54 - I guess the way around is to disable scheduler on slave.
[22 Aug 2020 16:14]
Fernando Sedano Ruvalcaba
Bug still on 8.0.20
[11 Nov 2020 17:11]
Ahmed ElSamha'
same bug in 8.0.22
[12 Dec 2022 5:54]
John Carew
Bug still exists in 8.0.28. For large corporations that are using MySql, this is a fairly big issue. As we cannot use any scheduled events built into MySql, as there is no way to run it on primary server and not on replicas. All of our servers are redundant with replicas.