Add python stack trace to SQL comment strings
Bug #1007648 reported by
aeva black
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
aeva black |
Bug Description
It would be helpful to inject a pseudo-stack-trace showing the relevant parts of the python call stack into a SQL comment string in each database query. This could be used for debugging transactional issues (my current focus), or other debugging tasks. It could also be aggregated by pt-query-digest to analyze database activity coming from different sections of the nova code.
This can be done by monkey-patching the database driver when the sql_connection_
Changed in nova: | |
milestone: | none → folsom-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-2 → 2012.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/8070
Review: https:/