You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/09/25 02:37:34 UTC

[jira] [Commented] (CLOUDSTACK-7628) VM Worker job should be expunged one hour after completion instead of currently being expunged whenever cleanup task thread is run.

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14147174#comment-14147174 ] 

ASF subversion and git services commented on CLOUDSTACK-7628:
-------------------------------------------------------------

Commit 4317a85e97643c681b98b3e58990ec2f22abedd8 in cloudstack's branch refs/heads/master from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4317a85 ]

CLOUDSTACK-7628:VM Worker job should be expunged one hour after
completion instead of currently being expunged whenever cleanup task
thread is run.

> VM Worker job should be expunged one hour after completion instead of currently being expunged whenever cleanup task thread is run.
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7628
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7628
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>            Reporter: Min Chen
>            Assignee: Min Chen
>            Priority: Critical
>             Fix For: 4.5.0
>
>
> Based on design, when VM worker job cleanup thread runs, it should only expunge those vm work jobs that are completed more than one hour ago. This is to prevent some Db constraint error in expunging these jobs since there are still reference to the worker job in async_job_map table. Also on some racing condition, we will encounter NPE due to removal of such jobs too quickly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)