Activity log for bug #1890979

Date Who What changed Old value New value Message
2020-08-10 03:49:20 haixin bug added bug
2020-08-10 03:49:55 haixin cinder: assignee haixin (haixin77)
2020-08-10 05:33:44 haixin description when we migration, retype or backup an volume, it need to call _transfer_data function in volume_utils.py, especially in the RBD volume that we use a lot. if the volume is thin volume, an the file in the volume is sparse file, this means it may not the end of file when we read b'',if we break here will lead to Incomplete file,This is a serious situation for mirror image。 so we should not break, we should continue and seek the offset of dest. in order to get the full data of src volume. when we migration, retype or backup an volume, it need to call _transfer_data function in volume_utils.py, especially in the RBD volume that we use a lot.    if the volume is thin volume, and the file in the volume is sparse file, this means it may not the end of file when we read b'',if we break here will lead to Incomplete file,This is a serious situation for mirror image。    so we should not break, we should continue and seek the offset of dest. in order to get the full data of src volume.
2020-08-10 06:50:56 OpenStack Infra cinder: status New In Progress
2020-08-10 13:12:38 Eric Harney cinder: importance Undecided High
2020-08-11 02:00:52 haixin summary Optimize volume copy logic Fix volume copy logic
2023-01-30 15:16:52 Eric Harney cinder: status In Progress Incomplete