cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [12/13] git commit: updated refs/heads/4.3 to 15ded4f
Date Mon, 24 Nov 2014 18:26:08 GMT
Allow infrastructure to handle delete of volume from DB
(cherry picked from commit 6602ad71ac97fb1875131f41bb5f92ff1e3a1c7b)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a165309b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a165309b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a165309b

Branch: refs/heads/4.3
Commit: a165309b89387d024ea362898a30c7990e79b1ab
Parents: 11d446a
Author: Mike Tutkowski <mike.tutkowski@solidfire.com>
Authored: Mon Nov 24 09:44:06 2014 -0700
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Mon Nov 24 23:47:05 2014 +0530

----------------------------------------------------------------------
 .../storage/datastore/driver/SolidfirePrimaryDataStoreDriver.java  | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a165309b/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidfirePrimaryDataStoreDriver.java
----------------------------------------------------------------------
diff --git a/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidfirePrimaryDataStoreDriver.java
b/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidfirePrimaryDataStoreDriver.java
index e69534b..6a180ad 100644
--- a/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidfirePrimaryDataStoreDriver.java
+++ b/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidfirePrimaryDataStoreDriver.java
@@ -790,8 +790,6 @@ public class SolidfirePrimaryDataStoreDriver implements PrimaryDataStoreDriver
{
 
             SolidFireUtil.SolidFireVolume sfVolume = deleteSolidFireVolume(volumeInfo, sfConnection);
 
-            _volumeDao.deleteVolumesByInstance(volumeInfo.getId());
-
             //  if (!sfAccountHasVolume(sfAccountId, sfConnection)) {
             //      // delete the account from the SolidFire SAN
             //      deleteSolidFireAccount(sfAccountId, sfConnection);


Mime
View raw message