You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@helix.apache.org by "Hunter L (JIRA)" <ji...@apache.org> on 2018/10/27 01:50:00 UTC
[jira] [Created] (HELIX-763) [TASK] Ignore tasks whose workflow and
job are inactive
Hunter L created HELIX-763:
------------------------------
Summary: [TASK] Ignore tasks whose workflow and job are inactive
Key: HELIX-763
URL: https://issues.apache.org/jira/browse/HELIX-763
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)