All of these emails should include an unsubscribe link.  

Please provide guidance.

Gary Truesdale P.E.
Account Manager
Hewlett-Packard
310.658.0922

-----Original Message-----
From: ASF subversion and git services (JIRA) [mailto:[email protected]] 
Sent: Thursday, September 18, 2014 12:58 PM
To: [email protected]
Subject: [jira] [Commented] (VCL-782) utils.pm update_request_state generated 
unnecessary critical messages


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

ASF subversion and git services commented on VCL-782:
-----------------------------------------------------

Commit 1626062 from [~arkurth] in branch 'vcl/trunk'
[ https://svn.apache.org/r1626062 ]

VCL-782
Added condition to utils.pm::update_request_state to check if request was 
deleted when an unexpected state is encountered.

> utils.pm update_request_state generated unnecessary critical messages
> ---------------------------------------------------------------------
>
>                 Key: VCL-782
>                 URL: https://issues.apache.org/jira/browse/VCL-782
>             Project: VCL
>          Issue Type: Improvement
>          Components: vcld (backend)
>    Affects Versions: 2.3.2
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>            Priority: Minor
>             Fix For: 2.4
>
>
> utils.pm::update_request_state will not change the state if the current 
> state/laststate are not what is expected.  If this happens, a critical 
> message is generated.
> This will happen if a user deletes a request shortly before the state is to 
> be changed to reserved/new.  update_request_state fails because the current 
> (expected) state is now pending/new.  Example vcld.log output:
> {noformat}
> |1930|2520582|2619477|new|utils.pm:update_request_state|1323| ---- 
> |1930|2520582|2619477|new|WARNING ---- 
> |1930|2520582|2619477|new|utils.pm:update_request_state|1323| 
> |1930|2520582|2619477|new|2014-09-18 
> |1930|2520582|2619477|new|11:47:07|1930|2520582|2619477|new|utils.pm:u
> |1930|2520582|2619477|new|pdate_request_state|1323|unable to update 
> |1930|2520582|2619477|new|request 2520582 state to: reserved/new, 
> |1930|2520582|2619477|new|current state: deleted/reserv
> ed
> |1930|2520582|2619477|new|utils.pm:update_request_state|1323| ( 0) 
> |1930|2520582|2619477|new|utils.pm, update_request_state (line: 1323) 
> |1930|2520582|2619477|new|utils.pm:update_request_state|1323| (-1) 
> |1930|2520582|2619477|new|new.pm, process (line: 451) 
> |1930|2520582|2619477|new|utils.pm:update_request_state|1323| (-2) 
> |1930|2520582|2619477|new|vcld, make_new_child (line: 562) 
> |1930|2520582|2619477|new|utils.pm:update_request_state|1323| (-3) 
> |1930|2520582|2619477|new|vcld, main (line: 332)
> 2014-09-18
> |1930|2520582|2619477|new|new.pm:process|455| ---- CRITICAL ---- 
> |1930|2520582|2619477|new|new.pm:process|455| 2014-09-18 
> 11:47:07|1930|2520582|2619477|new|new.pm:process|455|failed to set request 
> state to 'reserved'/'new'
> |1930|2520582|2619477|new|new.pm:process|455| ( 0) new.pm, process 
> |1930|2520582|2619477|new|(line: 455) new.pm:process|455| (-1) vcld, 
> |1930|2520582|2619477|new|make_new_child (line: 562) 
> |1930|2520582|2619477|new|new.pm:process|455| (-2) vcld, main (line: 
> |1930|2520582|2619477|new|332)
> {noformat}
> A check should be added to catch this.



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

Reply via email to