)]}'
{"nova/compute/api.py":[{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"f8644422cca57701dccae57ad42e63e4cb84ef33","unresolved":false,"context_lines":[{"line_number":2298,"context_line":""},{"line_number":2299,"context_line":"    def _assert_host_exists(self, context, host_name):"},{"line_number":2300,"context_line":"        \"\"\"Raises ComputeHostNotFound if compute host doesn\u0027t exist.\"\"\""},{"line_number":2301,"context_line":"        self.db.service_get_by_compute_host(context, host_name)"},{"line_number":2302,"context_line":""},{"line_number":2303,"context_line":"    def set_host_enabled(self, context, host_name, enabled):"},{"line_number":2304,"context_line":"        \"\"\"Sets the specified host\u0027s ability to accept new instances.\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAM3%2F%2FWV8%3D","line":2301,"updated":"2013-01-26 15:57:26.000000000","message":"These two db calls are not equivalent.  The old one has                 filter_by(disabled\u003dFalse) while the new one has                 options(joinedload(\u0027compute_node\u0027)).\n\nThe addition of joinedload(\u0027compute_node\u0027) seems fine and good, but the lack of filtering on disabled\u003dFalse looks like a problem.","commit_id":"fd22a3784050a263d922651d032fa4c9fbf0fcdc"}]}
