You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Andy Kurth (JIRA)" <ji...@apache.org> on 2014/03/05 18:48:45 UTC

[jira] [Reopened] (VCL-734) set requests to pending state earlier when processing

     [ https://issues.apache.org/jira/browse/VCL-734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Kurth reopened VCL-734:
----------------------------


Reopening issue.  Cluster logic still needs improvement.

> set requests to pending state earlier when processing
> -----------------------------------------------------
>
>                 Key: VCL-734
>                 URL: https://issues.apache.org/jira/browse/VCL-734
>             Project: VCL
>          Issue Type: Improvement
>          Components: vcld (backend)
>            Reporter: Aaron Peeler
>            Priority: Minor
>             Fix For: 2.4
>
>
> With some of the latest code additions. It appears reservations can be picked up a second time during vcld's initial fetch of requests that need to be processed.
> The routine update_request_state gets called in the State.pm module to update a reservation to pending, which after loading several other prov/OS modules for a request, the loop in vcld can pick up the same request and try to process again.
> So for non-cluster reservations, add a call to update_request_state in vcld before forking. Cluster requests will still likely need to be updated from the State.pm module. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)