mirror of https://github.com/apache/cloudstack.git
volume-upload: Volume uploaded using new POST based upload goes to inconsistent state on destroying SSVM
Added a check not to cleanup volume related entries when SSVM is destroyed for volumes upload using the POST based upload feature
This commit is contained in:
parent
71873c8d41
commit
ae21f44c7b
|
|
@ -58,7 +58,7 @@ public class VolumeDataStoreDaoImpl extends GenericDaoBase<VolumeDataStoreVO, Lo
|
|||
private SearchBuilder<VolumeDataStoreVO> uploadVolumeSearch;
|
||||
private SearchBuilder<VolumeVO> volumeOnlySearch;
|
||||
private SearchBuilder<VolumeDataStoreVO> uploadVolumeStateSearch;
|
||||
private static final String EXPIRE_DOWNLOAD_URLS_FOR_ZONE = "update volume_store_ref set download_url_created=? where store_id in (select id from image_store where data_center_id=?)";
|
||||
private static final String EXPIRE_DOWNLOAD_URLS_FOR_ZONE = "update volume_store_ref set download_url_created=? where download_url_created is not null and store_id in (select id from image_store where data_center_id=?)";
|
||||
|
||||
|
||||
@Inject
|
||||
|
|
|
|||
Loading…
Reference in New Issue