LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's...#332
LIBCLOUD-590 - Reduce redundant API calls of CloudStack compute driver's...#332atsaki wants to merge 7 commits intoapache:trunkfrom
Conversation
|
thanks for your patches, I am a bit busy this coming days, but I will try to comment/merge as soon as possible. |
There was a problem hiding this comment.
This looks to broad to me. What does it catch? Why would you catch all the things and not fail here?
|
This is a complex function that can be broken down into smaller bits to make it much more legible. That is not the scope of the PR though. I think this is fine, but we could actually use some more tests here. The lack of tests makes me hesitant to merge it. I would be much more comfortable if the
|
|
@atsaki do you plan to work on this ? @allardhoeve made some good comments, could you answer ?thanks |
|
My comments still stand ofcourse. |
|
I'm working on this. Please wait for a few days. |
8c1e211 to
56c150a
Compare
4b424e7 to
e08cfcd
Compare
…r's list_nodes method
13a63c9 to
afafdff
Compare
|
I updated the code to follow the comments. |
|
Thanks. This is better than before. I have no access to CloudStack, so I can't test this and I also don't feel qualified to plus one it. |
|
@atsaki this was closed by mistake as we are trying to close some old PRs. Can you reopen again, I will merge this week. |
CloudStack compute driver's list_nodes method executes too many API calls and it slows down this method.
The patch reduces redundant API calls and speed up list_nodes method.
https://issues.apache.org/jira/browse/LIBCLOUD-590