)]}'
{"neutron/services/auto_allocate/db.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"f1a1e713412afa74af4a52307ea7cb5a52262435","unresolved":false,"context_lines":[{"line_number":133,"context_line":"            # the caller retry the operation. This try-except should"},{"line_number":134,"context_line":"            # no longer be necessary once we are certain that all"},{"line_number":135,"context_line":"            # DB induced errors are caught by the layer underneath."},{"line_number":136,"context_line":"            raise db_exc.RetryRequest(e)"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"    @property"},{"line_number":139,"context_line":"    def core_plugin(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9ad45d7e_0f646447","line":136,"updated":"2016-08-12 19:58:34.000000000","message":"This won\u0027t help. The API layer will already retry the operation for you if it\u0027s retriable. The problem is that the code doesn\u0027t cleanup if it encounters unexpected errors.\n\n[1] and [2] both need an general exception handler to catch all exceptions and undo the work it has done, and then reraise them.\n\n1. https://github.com/openstack/neutron/blob/fed5e760928fc78dfa6533139f6bae4e08f0a7af/neutron/services/auto_allocate/db.py#L272\n2. https://github.com/openstack/neutron/blob/fed5e760928fc78dfa6533139f6bae4e08f0a7af/neutron/services/auto_allocate/db.py#L244","commit_id":"7d75e2fa4587e4a8b7b512eb52b22f5a63c4e6f2"}]}
