fix(backups/cleanVm): fix parent/child order when resuming merge

This commit is contained in:
Florent Beauchamp 2022-08-03 17:34:11 +02:00 committed by Julien Fontanet
parent a226760b07
commit 9a4e938b91
2 changed files with 2 additions and 1 deletions

View File

@ -430,7 +430,7 @@ exports.cleanVm = async function cleanVm(
// merge interrupted VHDs
for (const parent of interruptedVhds.keys()) {
vhdChainsToMerge[parent] = [vhdChildren[parent], parent]
vhdChainsToMerge[parent] = [parent, vhdChildren[parent]]
}
Object.values(vhdChainsToMerge).forEach(chain => {

View File

@ -12,6 +12,7 @@
> Users must be able to say: “I had this issue, happy to know it's fixed”
- [Backup] Fix `incorrect backup size in metadata` on each merged VHD (PR [#6331](https://github.com/vatesfr/xen-orchestra/pull/6331))
- [Backup] Fix `assertionError [ERR_ASSERTION]: Expected values to be strictly equal` when resuming a merge (PR [#6349](https://github.com/vatesfr/xen-orchestra/pull/6349))
### Packages to release