karuturi commented on a change in pull request #1832: CLOUDSTACK-9652 Job
framework - Cancelling async jobs
URL: https://github.com/apache/cloudstack/pull/1832#discussion_r116158204
##########
File path:
engine/orchestration/src/com/cloud/agent/manager/AgentManagerImpl.java
##########
@@ -1635,6 +1677,24 @@ protected void runInContext() {
}
}
+ protected class CancelTask extends ManagedContextRunnable {
+ @Override
+ protected void runInContext() {
+ final List<AsyncJobVO> jobs = _asyncJobDao.getCancelledJobs();
Review comment:
it might fetch again. but, it wont process again as they wont be in the
sequence map.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services