)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":2759,"name":"Huang Zhiteng","email":"winston.d@gmail.com","username":"zhiteng-huang"},"change_message_id":"5176bf9cd8ffb560940efb445e5af6c8c5c24d49","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"During the process of backup restore, we should not set the state"},{"line_number":10,"context_line":"of the volume to \"error\" if it is caused by other problems like"},{"line_number":11,"context_line":"without expected backup status and backup service."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I0ebff6b55807a80759e9f20103dc4a894aa8af73"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a5ae5dd_9a98996c","line":11,"updated":"2016-02-03 03:20:39.000000000","message":"Any reason why setting a volume not in desired state to \u0027error\u0027 is considered a bug?","commit_id":"d15a15b2c3d3915431b3e33dc7b6cd8922da7e8e"}],"cinder/backup/manager.py":[{"author":{"_account_id":15961,"name":"lisali","email":"xiaoyan.li@intel.com","username":"lisali"},"change_message_id":"41516aa0b203e673436d72b47410c1adab72ca9c","unresolved":false,"context_lines":[{"line_number":461,"context_line":"                   {\u0027expected_status\u0027: expected_status,"},{"line_number":462,"context_line":"                    \u0027actual_status\u0027: actual_status})"},{"line_number":463,"context_line":"            self._update_backup_error(backup, context, err)"},{"line_number":464,"context_line":"            self.db.volume_update(context, volume_id, {\u0027status\u0027: \u0027error\u0027})"},{"line_number":465,"context_line":"            raise exception.InvalidBackup(reason\u003derr)"},{"line_number":466,"context_line":""},{"line_number":467,"context_line":"        if volume[\u0027size\u0027] \u003e backup[\u0027size\u0027]:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a5ae5dd_7ac11d80","side":"PARENT","line":464,"updated":"2016-02-03 03:11:18.000000000","message":"You can\u0027t delete the code. \n\nAs in api, the state of volume is set to restoring_backup. Here it needs to clean up the state.","commit_id":"9814feedf46e9d363cefb975ca994b83cf89cba9"},{"author":{"_account_id":2759,"name":"Huang Zhiteng","email":"winston.d@gmail.com","username":"zhiteng-huang"},"change_message_id":"5176bf9cd8ffb560940efb445e5af6c8c5c24d49","unresolved":false,"context_lines":[{"line_number":485,"context_line":"            }"},{"line_number":486,"context_line":"            backup.status \u003d fields.BackupStatus.AVAILABLE"},{"line_number":487,"context_line":"            backup.save()"},{"line_number":488,"context_line":"            self.db.volume_update(context, volume_id, {\u0027status\u0027: \u0027error\u0027})"},{"line_number":489,"context_line":"            raise exception.InvalidBackup(reason\u003derr)"},{"line_number":490,"context_line":""},{"line_number":491,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a5ae5dd_ba9d555b","side":"PARENT","line":488,"updated":"2016-02-03 03:20:39.000000000","message":"We can\u0027t just leave a volume in \u0027restoring-backup\u0027 state.","commit_id":"9814feedf46e9d363cefb975ca994b83cf89cba9"}]}
