one
one copied to clipboard
First element of the backup chain got wrong size after first rotation (increment_flatten)
Description When the increment chain reach the KEEP_LAST value, the code of increment_flatten is executed, The code work as espected, but in some scenarios when the filesystem is not to fast, the size of the image is not the correct, because the task of merge and info run too quickly.
To Reproduce Do an incremental backup of a VM and do more backups than the KEEP_LAST value configured. The rsync server must be one server with slow disk response.
Expected behavior when we do an incremental backup of a VM and we do more backups than the KEEP_LAST value configured, the rsync server have slow disk response. The value for size computed must be the right one.
Details
- Affected Component: [Storage: Datastore driver rsync: increment_flatten file]
- Hypervisor: [eKVM]
- Version: [6.8.1]
Additional context Add any other context about the problem here.
Progress Status
- [ ] Code committed
- [ ] Testing - QA
- [ ] Documentation (Release notes - resolved issues, compatibility, known issues)
I sorted the problem doing sleep inside the script:
Thanks @nachowork90
I confirm this issue and your solution works.