You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/04/28 09:08:54 UTC

[GitHub] DaanHoogland commented on a change in pull request #2399: CLOUDSTACK-10223 delete snapshots when deleting domain

DaanHoogland commented on a change in pull request #2399: CLOUDSTACK-10223 delete snapshots when deleting domain
URL: https://github.com/apache/cloudstack/pull/2399#discussion_r184846572
 
 

 ##########
 File path: server/src/main/java/com/cloud/storage/snapshot/SnapshotManagerImpl.java
 ##########
 @@ -715,7 +715,7 @@ public String getSecondaryStorageURL(SnapshotVO snapshot) {
     @Override
     public boolean deleteSnapshotDirsForAccount(long accountId) {
 
-        List<VolumeVO> volumes = _volsDao.findByAccount(accountId);
+        List<VolumeVO> volumes = _volsDao.findIncludingRemovedByAccount(accountId);
 
 Review comment:
   have to check, you might just have found an old hidden bug , @rafaelweingartner . On the other hand I have seen stranger things, a template is a volume of sorts isn't it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services