You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/12/30 09:55:36 UTC
[GitHub] [cloudstack] rohityadavcloud commented on a change in pull request #5789: Randomize managed volume copy host
rohityadavcloud commented on a change in pull request #5789:
URL: https://github.com/apache/cloudstack/pull/5789#discussion_r776651377
##########
File path: server/src/main/java/com/cloud/storage/StorageManagerImpl.java
##########
@@ -2136,6 +2136,7 @@ public Host findUpAndEnabledHostWithAccessToStoragePools(List<Long> poolIds) {
if (hostIds.isEmpty()) {
return null;
}
+ Collections.shuffle(hostIds);
Review comment:
The logging is not of the randomised list but the selected host is logged by the deployment planner and startvm cmd.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org