cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rafaelweingartner <>
Subject [GitHub] cloudstack pull request: CID-1338387: handle unknown storage endpo...
Date Tue, 10 Nov 2015 19:46:28 GMT
Github user rafaelweingartner commented on the pull request:
    Got it. Shouldn’t we create a PR changing the Java compilation level to 1.8?
    @DaanHoogland, I still have a doubt about the need of that “selectHypervisorHost”
method call. If you take a look at the stack of calls, the method that starts the process
is “,
Command)” that method makes me think that we could just use the host that it receives as
a parameter instead of looking for another one.
    What is the point on getting a host at random? There was not even a check if the hypervisor
type of the host that was selected is the same as the host that initiated the whole process.
    Moreover, line 79 of “getGuruProcessedCommandTargetHost”, already uses the hypervisor
type of the host that is being sent as a parameter; I am seeing why that call “endPointSelector.selectHypervisorHost”
is needed. It seems that we could just remove lines 114 and 115 (prior to the modifications
that @DaanHoogland did) and we would be good to go, without much complications

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message