cloudstack/engine
João Jandre 9033ab709e
Fix snapshot chain being deleted on XenServer (#9447)
Using XenServer as the hypervisor, when deleting a snapshot that has a parent, that parent will also get erased on storage, causing data loss. This behavior was introduced with #7873, where the list of snapshot states that can be deleted was changed to add BackedUp snapshots.

This PR changes the states list back to the original list, and swaps the while loop for a do while loop to account for the changes in #7873.

Fixes #9446
2024-08-01 17:33:04 +05:30
..
api Updating pom.xml version numbers for release 4.19.2.0-SNAPSHOT 2024-07-19 10:29:26 +05:30
components-api Updating pom.xml version numbers for release 4.19.2.0-SNAPSHOT 2024-07-19 10:29:26 +05:30
orchestration Updating pom.xml version numbers for release 4.19.2.0-SNAPSHOT 2024-07-19 10:29:26 +05:30
schema Merge remote-tracking branch 'origin/4.18' into 4.19 2024-07-29 09:42:38 +05:30
service Updating pom.xml version numbers for release 4.19.2.0-SNAPSHOT 2024-07-19 10:29:26 +05:30
storage Fix snapshot chain being deleted on XenServer (#9447) 2024-08-01 17:33:04 +05:30
userdata Updating pom.xml version numbers for release 4.19.2.0-SNAPSHOT 2024-07-19 10:29:26 +05:30
pom.xml Updating pom.xml version numbers for release 4.19.2.0-SNAPSHOT 2024-07-19 10:29:26 +05:30