Aaron Peeler created VCL-734:
--------------------------------
Summary: 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.1#6144)