[
https://issues.apache.org/jira/browse/VCL-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16025217#comment-16025217
]
ASF subversion and git services commented on VCL-1051:
------------------------------------------------------
Commit 1796182 from [email protected] in branch 'vcl/trunk'
[ https://svn.apache.org/r1796182 ]
VCL-1051
Added checks in State.pm::state_exit for checkpoint state.
Removed condition that prevented the request state from being updated to
'complete' if current request state is 'deleted' and the new request state is
anything other than 'complete'. If state_exit got called during the 'deleted'
state with arguments set to 'failed', the request state would be left in
'pending' when the process ended.
VCL-887
Changed call in new.pm::process from switch_state to state_exit.
Removed no longer used utils.pm::switch_state subroutine.
Removed unused $self->data->get_* variables from new.pm.
Other
Removed unreachable call to exit; in reclaim.pm.
> Backend is not checking for 'checkpoint' state everywhere it checks for
> 'image state
> ------------------------------------------------------------------------------------
>
> Key: VCL-1051
> URL: https://issues.apache.org/jira/browse/VCL-1051
> Project: VCL
> Issue Type: Bug
> Components: vcld (backend)
> Affects Versions: 2.4.2
> Reporter: Andy Kurth
> Assignee: Andy Kurth
> Fix For: 2.5
>
>
> There are a few places where the backend code is checking if the request
> state or last state is 'image' but not also checking for the very similar
> 'checkpoint' state. In almost all circumstances, both should be checked for.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)