)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1247,"name":"Mark McLoughlin","email":"markmc@redhat.com","username":"markmc"},"change_message_id":"8cae2c87b6011295ca0edd67d81ed74cefa967cb","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Use joinedload for system_metadata in db"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When moving over to nova.db.api not returning sqlalchemy"},{"line_number":10,"context_line":"objects non-joined db calls (lazy loaded) won\u0027t work."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Partially implements bp db-api-cleanup"},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"AAAAM3%2F%2FC8A%3D","line":10,"updated":"2013-02-09 04:21:24.000000000","message":"Hmm, it\u0027s not obvious to me what the issue is here\n\nSince you\u0027ll be rebasing, it\u0027s probably best to explain in some more detail\n\nAt a glance, I\u0027m looking at to_primitive() call iteritems() and iteritems() looking like it can handle lazy joins","commit_id":"f7aeffef8b55be3d5195ef02cb90d2e20a503af0"},{"author":{"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"},"change_message_id":"3846c0d9717ea1eae3e19cdc2f86c79f56ce73a4","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Use joinedload for system_metadata in db"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When moving over to nova.db.api not returning sqlalchemy"},{"line_number":10,"context_line":"objects non-joined db calls (lazy loaded) won\u0027t work."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Partially implements bp db-api-cleanup"},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"AAAAM3%2F%2B%2F2k%3D","line":10,"in_reply_to":"AAAAM3%2F%2FC8A%3D","updated":"2013-02-12 01:33:10.000000000","message":"The issue is not  to_primitive, or iteritems.  Rather by calling iteritems or to_pritimitive forces sqlalchemy to do the lazy load operations.  So if the lazyloaded data wasn\u0027t used before a missing joinedload statement wouldn\u0027t cause any errors.\n\nbut when the data is used without a joinedload we get an error like this:\n\nhttps://bugs.launchpad.net/nova/+bug/1117232","commit_id":"f7aeffef8b55be3d5195ef02cb90d2e20a503af0"}]}
