You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@git.apache.org on 2017/05/02 06:49:22 UTC

[GitHub] pavanaravapalli commented on a change in pull request #2072: WIP: CLOUDSTACK-9895 : Added support for parallel volume(s) creation from a volume snapshot

pavanaravapalli commented on a change in pull request #2072: WIP: CLOUDSTACK-9895 : Added support for parallel volume(s) creation from a volume snapshot
URL: https://github.com/apache/cloudstack/pull/2072#discussion_r114257295
 
 

 ##########
 File path: framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobManagerImpl.java
 ##########
 @@ -1012,6 +1018,22 @@ public void doInTransactionWithoutResult(TransactionStatus status) {
                             s_logger.debug("Purge queue item for cancelled job-" + job.getId());
                         }
                         _queueMgr.purgeAsyncJobQueueItemId(job.getId());
+
+                        if(job.getInstanceType().equals("Volume")) {
+                            // todo perform decrement opreation on the ref count based on the volume and snapshot
 
 Review comment:
   Addressed and removed TODO, as per the comment. 
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services