Lock wait of mysql blocks all eventlet thread
Bug #1086173 reported by
Nachi Ueno
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Gary Kotton |
Bug Description
I faced the problem with mysql transaction and eventlet.
Quantum using transaction support of sqlalchemy
Quantum also using eventlet for RPC
Let's say there are api request A and B.
Sql request of A will lock B's sql request.
so B's sql request will wait the A's transaction.
On the other hand, we are using evenetlet.
Since we are using mysql c client, the API request may block eventlet
thread.
so when B start wait sql lock, it blocks all eventlet thread including api request A until lock timeout.
This bp for nova looks like solve the quantum one also.
https:/
Changed in quantum: | |
milestone: | none → grizzly-2 |
importance: | Undecided → High |
Changed in quantum: | |
assignee: | nobody → yong sheng gong (gongysh) |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | grizzly-2 → 2013.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/17779
Review: https:/