Damans227 commented on code in PR #14344:
URL: https://github.com/apache/cloudstack/pull/14344#discussion_r4220290367


##########
plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/motion/LinstorDataMotionStrategy.java:
##########
@@ -413,6 +445,7 @@ public void copyAsync(Map<VolumeInfo, DataStore> 
volumeDataStoreMap, VirtualMach
             MigrateAnswer migrateAnswer = (MigrateAnswer) 
_agentManager.send(srcHost.getId(), migrateCommand);
             boolean success = migrateAnswer != null && 
migrateAnswer.getResult();
 
+            postMigrationHandled = true;

Review Comment:
   that covers it, thanks



##########
plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/motion/LinstorDataMotionStrategy.java:
##########
@@ -358,13 +383,17 @@ public void copyAsync(Map<VolumeInfo, DataStore> 
volumeDataStoreMap, VirtualMach
 
                 boolean exactSize = needsExactSizeProp(srcVolumeInfo);
 
-                String devPath = LinstorUtil.createResource(
-                        destVolumeInfo, destStoragePool, _storagePoolDao, 
exactSize);
+                LinstorUtil.createResource(destVolumeInfo, destStoragePool, 
_storagePoolDao, exactSize);

Review Comment:
   that covers it, thanks



-- 
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