Bug #37666 | Event set to DISABLED and ON COMPLETION NOT PRESERVE is deleted at server start | ||
---|---|---|---|
Submitted: | 26 Jun 2008 13:58 | Modified: | 27 Mar 2012 17:51 |
Reporter: | Vemund Østgaard | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S3 (Non-critical) |
Version: | 5.1.26 | OS: | Any |
Assigned to: | Magne Mæhre | CPU Architecture: | Any |
[26 Jun 2008 13:58]
Vemund Østgaard
[26 Jun 2008 14:43]
Vemund Østgaard
Setting to verified, easy to reproduce.
[3 Jul 2009 7:57]
Ståle Deraas
We discussed this as an Azalea runtime meeting. To us it seems like the this should probably be a I4, since it is rather unlikely to happen. /Staale
[25 Sep 2009 13:27]
Andrey Hristov
If the END time of an event is passed the event goes into disabled state. Then on completion is checked. If you stop your server and then you start it and the END time is passed the event should be dropped, as it will be disabled. If you disable yourself you will get the same result.
[25 Sep 2009 14:58]
Andrey Hristov
If the END time of an event is passed the event goes into disabled state. Then on completion is checked. If you stop your server and then you start it and the END time is passed the event should be dropped, as it will be disabled. If you disable yourself you will get the same result.
[21 May 2010 7:09]
MySQL Verification Team
Hi! What's terrible is that events are deleted on the slaves when events are SLAVESIDE_DISABLED.
[22 Jun 2010 14:06]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/111783 3096 Luis Soares 2010-06-22 BUG#37666: Event set to DISABLED and ON COMPLETION NOT PRESERVE is deleted at server start Some test cases showing how replication and server restarts behaves for SLAVESIDE_DISABLED events: 1. There is no implicit drop event when master restarts. 2. Slave drops SLAVESIDE_DISABLED events if these are set with ON_COMPLETION=DROP 3. Slave preserves SLAVESIDE_DISABLED events if these are set with ON_COMPLETION=PRESERVE
[27 Mar 2012 17:51]
Paul DuBois
Noted in 5.6.5 changelog. Setting an event to DISABLED status and with the ON COMPLETION NOT PRESERVE attribute caused it to be dropped at the next server restart.