jigish.addweb created an issue. See original summary.
@jigishaddweb
Thank you for the refactoring.
@liuchanggang
Could you please review the patch?
The code looks good. However, I see following potential issues. Some updateAll***() functions were removed from service, but they are still called by cron jobs. Please make sure it will not break those cron jobs.
public function createResourceQueueItems() { $update_resources_queue = $this->queueFactory->get('openstack_update_resources_queue'); $method_names = [ 'terminateExpiredInstances', 'updateInstances', 'updateImages', 'updateKeyPairs', 'updateSecurityGroups', 'updateVolumes', 'updateSnapshots', 'updateNetworkInterfaces', 'updateFloatingIps', 'updatePendingImages', 'updateAllInstances', 'updateAllImages', 'updateAllSecurityGroups', 'updateAllFloatingIp', 'updateAllNetworkInterfaces', 'updateAllKeyPairs', 'updateAllVolumes', 'updateAllSnapshots', ];
Thanks.
@yas @liuchanggang
Thank you for your review.
I removed updateAll* methods from createResourceQueueItems.
updateAll*
createResourceQueueItems
Please review the updated patch.
Thanks
@jigish.addweb. Thanks for updating. The code looks good to me now.
Changed to status to be RTBC. Thanks
Thank you for your review. I'll merge the patch to 8.x-1.x, 8.x-2.x and 3.x and close this issue as Fixed.
8.x-1.x
8.x-2.x
3.x
Fixed
Issue #3166437 by jigish.addweb, liuchanggang, yas: Refactor the Refresh...
Automatically closed - issue fixed for 2 weeks with no activity.
Comments
Comment #2
jigish.addweb commentedComment #3
jigish.addweb commentedComment #4
jigish.addweb commentedComment #5
yas@jigishaddweb
Thank you for the refactoring.
@liuchanggang
Could you please review the patch?
Comment #6
liuchanggang commentedThe code looks good. However, I see following potential issues.
Some updateAll***() functions were removed from service, but they are still called by cron jobs. Please make sure it will not break those cron jobs.
Thanks.
Comment #7
jigish.addweb commentedComment #8
jigish.addweb commented@yas @liuchanggang
Thank you for your review.
I removed
updateAll*methods fromcreateResourceQueueItems.Please review the updated patch.
Thanks
Comment #9
liuchanggang commented@jigish.addweb.
Thanks for updating. The code looks good to me now.
Comment #10
liuchanggang commentedChanged to status to be RTBC. Thanks
Comment #11
yas@liuchanggang
Thank you for your review. I'll merge the patch to
8.x-1.x,8.x-2.xand3.xand close this issue asFixed.Comment #15
yas