koushik-das commented on a change in pull request #2072: WIP: CLOUDSTACK-9895 : 
Added support for parallel volume(s) creation from a volume snapshot
URL: https://github.com/apache/cloudstack/pull/2072#discussion_r113936161
 
 

 ##########
 File path: 
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
 ##########
 @@ -1214,7 +1224,9 @@ protected Void 
createVolumeFromSnapshotCallback(AsyncCallbackDispatcher<VolumeSe
             } else {
                 volume.processEvent(event);
             }
-            snapshot.processEvent(event);
+            VolumeDetailVO volumeDetailVO = 
_volumeDetailsDao.findDetail(volume.getId(),"SNAPSHOT_ID");
 
 Review comment:
   Try using the existing removeDetail() method to do this
 
----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to