DaanHoogland commented on a change in pull request #6005:
URL: https://github.com/apache/cloudstack/pull/6005#discussion_r810895928



##########
File path: 
engine/api/src/main/java/org/apache/cloudstack/engine/subsystem/api/storage/VolumeService.java
##########
@@ -92,7 +92,7 @@ public VolumeInfo getVolume() {
 
     AsyncCallFuture<VolumeApiResult> resize(VolumeInfo volume);
 
-    void resizeVolumeOnHypervisor(long volumeId, long newSize, long 
destHostId, String instanceName);
+    void resizeVolumeOnHypervisor(long volumeId, long currentSize, long 
newSize, long destHostId, String instanceName);

Review comment:
       ok, thanks for explaining. I think this is a problem that needs to be 
addressed for all hypervisors separately. The old size should be retrieved from 
the hypervisor/primary storage. What we pass here could be off for any number 
of reasons. This is a bit out of scope here, but can you add a comment to what 
the problem is?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to