mirror of https://github.com/apache/cloudstack.git
Allow infrastructure to handle delete of volume from DB
This commit is contained in:
parent
9338abb6f3
commit
7c5bc4ae7e
|
|
@ -465,8 +465,6 @@ public class SolidFirePrimaryDataStoreDriver implements PrimaryDataStoreDriver {
|
|||
|
||||
_volumeDetailsDao.removeDetails(volumeId);
|
||||
|
||||
_volumeDao.deleteVolumesByInstance(volumeId);
|
||||
|
||||
StoragePoolVO storagePool = _storagePoolDao.findById(storagePoolId);
|
||||
|
||||
// getUsedBytes(StoragePool) will not include the volume to delete because it has already been deleted by this point
|
||||
|
|
|
|||
Loading…
Reference in New Issue