[MDEV-24682] event_scheduler lock problem Created: 2021-01-25  Updated: 2021-01-31  Resolved: 2021-01-31

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: None
Fix Version/s: 10.5.9

Type: Bug Priority: Major
Reporter: Anton Petin Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates MDEV-24452 ALTER TABLE event take infinite time ... Closed

 Description   

When event_scheduler=ON it will acquiring lock MDL_SHARED_WRITE on mysql.event table

And when i try to do
SET GLOBAL read_only = 1 and the scheduler is ON and the enabled events exists - set read_only=1 halts...

I use MaxScale to change the master and in this situation I had to abandon the use of events for everything to work, which is not very good.

Perhaps this is still some kind of bug.

Since I do not see any connection with the mysql.event lock (the event is executed once an hour) and the server's transfer to read_only = 1

Same error with backuping ( https://jira.mariadb.org/browse/MDEV-24185 )

10.5.8-MariaDB



 Comments   
Comment by Elena Stepanova [ 2021-01-25 ]

Could be the same problem as MDEV-24452.

Generated at Thu Feb 08 09:31:51 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.