)]}'
{"cinder/db/sqlalchemy/api.py":[{"author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"change_message_id":"96827f5e865dae79542544663eee3f51aa1ae0bc","unresolved":false,"context_lines":[{"line_number":1609,"context_line":""},{"line_number":1610,"context_line":"@handle_db_data_error"},{"line_number":1611,"context_line":"@require_context"},{"line_number":1612,"context_line":"@oslo_db_api.wrap_db_retry(max_retries\u003d5, retry_on_deadlock\u003dTrue)"},{"line_number":1613,"context_line":"def volume_create(context, values):"},{"line_number":1614,"context_line":"    values[\u0027volume_metadata\u0027] \u003d _metadata_refs(values.get(\u0027metadata\u0027),"},{"line_number":1615,"context_line":"                                               models.VolumeMetadata)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_02c6084b","line":1612,"updated":"2018-11-28 11:14:08.000000000","message":"If we make the change here, what about all other create/delete methods we have without this decorator?","commit_id":"3f5a809a5c7eec62107048edea4e81f496a54db2"},{"author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"change_message_id":"96827f5e865dae79542544663eee3f51aa1ae0bc","unresolved":false,"context_lines":[{"line_number":6985,"context_line":"    return result"},{"line_number":6986,"context_line":""},{"line_number":6987,"context_line":""},{"line_number":6988,"context_line":"def worker_claim_for_cleanup(context, claimer_id, orm_worker):"},{"line_number":6989,"context_line":"    \"\"\"Claim a worker entry for cleanup.\"\"\""},{"line_number":6990,"context_line":"    # We set updated_at value so we are sure we update the DB entry even if the"},{"line_number":6991,"context_line":"    # service_id is the same in the DB, thus flagging the claim."}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_427ac026","line":6988,"range":{"start_line":6988,"start_character":4,"end_line":6988,"end_character":28},"updated":"2018-11-28 11:14:08.000000000","message":"If we are changing all the workers methods, this is another one we should decorate.","commit_id":"3f5a809a5c7eec62107048edea4e81f496a54db2"}]}
