[
https://issues.apache.org/jira/browse/UIMA-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerry Cwiklik closed UIMA-4257.
-------------------------------
Resolution: Fixed
Agent no longer uses process status sent by the OR when making lifecycle
decisions. Fixes a bug that prevented agent from stopping purged JP.
> Ducc Agent is not handling OR purge request
> -------------------------------------------
>
> Key: UIMA-4257
> URL: https://issues.apache.org/jira/browse/UIMA-4257
> Project: UIMA
> Issue Type: Bug
> Components: DUCC
> Affects Versions: 1.1.0-Ducc
> Reporter: Jerry Cwiklik
> Assignee: Jerry Cwiklik
> Fix For: 2.0.0-Ducc
>
>
> When the RM purges a JP, the OR marks such process as Stopped and sets
> Deallocated flag to true. The Agent receives the publication and uses OR
> supplied information to determine if it should stop the process. Since the OR
> marked the process as Stopped, the Agent does not bother to stop it since its
> state is already Stopped.
> Don't use OR provided state to make decisions in the Agent. The Agent
> maintains its own inventory of processes and this should be used to make
> lifecycle related decisions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)