apache/incubator-cloudstack — pull request #2 by Lianping (2013-05-01 15:50:26+00:00)
Title: Fixed bug CLOUDSTACK-2216

The snapshots backups that have the field “removed” set are included in the validBackupUUIDs of CleanupSnapshotBackupCommand. This causes the bug, because any backup that has the removed field set should be deleted, thus, they should not be included in the validBackupUUIDs. This is fixed by adding a condition in the SQL query to exclude any backups that have removed field set.