Pearl1594 commented on code in PR #13468:
URL: https://github.com/apache/cloudstack/pull/13468#discussion_r3558821631
##########
engine/storage/datamotion/src/main/java/org/apache/cloudstack/storage/motion/AncientDataMotionStrategy.java:
##########
@@ -486,6 +490,9 @@ protected Answer copyVolumeBetweenPools(DataObject srcData,
DataObject destData)
answer = new Answer(cmd, false, errMsg);
} else {
answer = ep.sendMessage(cmd);
+ if (answer != null && answer.getResult()) {
+ setClvmLockHostIdIfApplicable(destData, ep);
+ }
Review Comment:
all other cases are handled properly, this is an improvement for detached
vol migration to update the host on which the lv is created on.
--
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]