Deadlock found when trying to get lock; try restarting transaction
Bug #1343613 reported by
Davanum Srinivas (DIMS)
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Pavel Kholkin | ||
tempest |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Logstash query(?):
message:"Deadlock found when trying to get lock; try restarting transaction" AND loglevel:"ERROR" AND build_status:
32 hits in 48 hours.
tags: | added: db testing |
Changed in nova: | |
status: | Triaged → In Progress |
Changed in nova: | |
status: | In Progress → Confirmed |
Changed in nova: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
Pavel has a partial fix for the underlying problem here: https:/ /review. openstack. org/#/c/ 106367/
Basically, the use of SELECT FOR UPDATE can be combined into a single UPDATE statement and reduce (most likely eliminate) the chance of deadlock exposure.
It's a partial fix because the allocate also would need to be fixed.