MySQL Gone Away Generated
Bug #706405 reported by
Rick Harris
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Rick Harris |
Bug Description
SQLAlchemy doesn't appear to be re-establishing the connection to the database automatically if the connection drops/times-out for whatever reason.
This causes a MySQL Gone Away error to be generated.
Related branches
lp:~rconradharris/nova/bug706405
- Jay Pipes (community): Approve
- Josh Kearney (community): Approve
- Vish Ishaya (community): Approve
-
Diff: 14 lines (+2/-2)1 file modifiednova/flags.py (+2/-2)
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Using pool_recycle was supposed to make sure we refresh the connection before MySQL expires it... but that does not cover MySQL connection drops.
Maybe our general use of expire_ on_commit= False inhibits proper connection recycling ?