Jerry Cwiklik created UIMA-3580:
-----------------------------------

             Summary: DUCC Agent sends STOP instead of QUIESCE to a running 
process
                 Key: UIMA-3580
                 URL: https://issues.apache.org/jira/browse/UIMA-3580
             Project: UIMA
          Issue Type: Bug
          Components: DUCC
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
            Priority: Minor


On process pre-emption (or explicit service stop), the Agent sends a Stop 
request to a JP or Service instead of Quiesce. The process receiving such 
request, stops all listeners on the input queue and also stops the output 
channel preventing any replies from getting back to the client (JD). 

The above may also explain intermittent problems with GetMeta timing out. It 
looks like GetMeta request comes in, the service receives Stop request and 
immediately proceeds to stop the output channel preventing the reply. The 
window is very small but its possible cause of the timeout.

If a process is killed via SIGTERM, the registered ShutdownHook correctly 
initiates quiesce.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to