rp- commented on code in PR #14344:
URL: https://github.com/apache/cloudstack/pull/14344#discussion_r4220171422


##########
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:
   Thanks, now the new volumes are only cleaned up if the migration itself 
failed.



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