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

Fix deadlocks when locking job models #1102

Closed
dfaller opened this issue Feb 1, 2018 · 1 comment
Closed

Fix deadlocks when locking job models #1102

dfaller opened this issue Feb 1, 2018 · 1 comment
Assignees
Projects
Milestone

Comments

@dfaller
Copy link
Contributor

dfaller commented Feb 1, 2018

We are occasionally getting exceptions in the message handlers where the database deadlocks on getting model locks on jobs. Check the message handler logs and Postgres logs for more details.

@dfaller dfaller added this to the Backlog milestone Feb 1, 2018
@dfaller dfaller added this to To Do in Critical Issues via automation Feb 1, 2018
@dfaller dfaller removed this from To Do in Critical Issues Feb 5, 2018
@dfaller dfaller added this to To Do in Bugs via automation Feb 5, 2018
@JohnPTobe JohnPTobe self-assigned this Mar 11, 2019
@JohnPTobe
Copy link

The messages where I've seen this occur are failed_jobs, completed_jobs and job_exe_end. Add try/catch statements to detect these deadlocks and put the message back on the queue to try again.

Bugs automation moved this from To Do to Done Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Bugs
  
Done
Development

No branches or pull requests

2 participants