Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL Deadlock issue #521

Closed
jamsi opened this issue May 21, 2013 · 2 comments
Closed

MySQL Deadlock issue #521

jamsi opened this issue May 21, 2013 · 2 comments

Comments

@jamsi
Copy link

jamsi commented May 21, 2013

Hi folks,

Two years ago there was an issue with workers dying due to a mysql race condition aka #277 .. however I'm starting to see this issue in my delayed_jobs.log - luckily I have bluepill restarting workers when they fall over but has anyone got a solution for this? A few others in that #277 issue have expressed concern also.

This is using 3.0.5

Class#notification failed with ActiveRecord::StatementInvalid: Mysql2::Error: Deadlock found when trying to get lock; try restarting transaction: DELETE FROM `delayed_jobs` WHERE `delayed_jobs`.`id` = 648922 - 0 failed attempts
@albus522
Copy link
Member

This will actually be an issue with https://github.com/collectiveidea/delayed_job_active_record. Please move any discussion there and make sure you are using the latest version of that gem.

@gorism
Copy link

gorism commented Jun 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants