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 2019/02/26 01:51:00 UTC

[jira] [Created] (HELIX-795) TASK: Drop tasks upon Participant reconnect

Hunter L created HELIX-795:
------------------------------

             Summary: TASK: Drop tasks upon Participant reconnect
                 Key: HELIX-795
                 URL: https://issues.apache.org/jira/browse/HELIX-795
             Project: Apache Helix
          Issue Type: Improvement
            Reporter: Hunter L
            Assignee: Hunter L


This changes the default reset() behavior for tasks on Participants. Previously, it would send all task partitions to INIT. After this change, the task partitions will inherit the states from the previous session, and their RequestedState will be set to DROPPED. Then the Controller will send messages to drop the said task partitions so that there are no quota/resource leaks for the number of tasks on Participants.
 Changelist:
 1. Modify state transition logic so that drop state transitions messages will be honored
 2. Modify CurrentState copy-over logic
 3. Add an integration test: TestDropOnParticipantReset



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