Hunter L created HELIX-757:
------------------------------

             Summary: TASK: Ignore tasks whose workflow and job are inactive
                 Key: HELIX-757
                 URL: https://issues.apache.org/jira/browse/HELIX-757
             Project: Apache Helix
          Issue Type: Improvement
            Reporter: Hunter L
            Assignee: Hunter L


It was discovered that by manual testing, there were task states in INIT and 
RUNNING, and they were occupying a thread count even though their parent job or 
workflow was in an inactive state (terminal or stopped). This was happening 
when the capacities were being rebuilt from scratch, which could have caused a 
thread leak. Changelist: 1. Add a check in buildAssignableInstances() so that 
it ignores workflows and jobs whose states are inactive states (that is, their 
tasks cannot be occupying a thread on Participants)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to