[
https://issues.apache.org/jira/browse/HELIX-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16778869#comment-16778869
]
Hudson commented on HELIX-808:
------------------------------
FAILURE: Integrated in Jenkins build helix #1607 (See
[https://builds.apache.org/job/helix/1607/])
[HELIX-808] TASK: Fix double-booking of tasks with task CurrentStates
(narendly: rev 70b63558797d193164a08bc73eb99816cf3a6094)
* (edit)
helix-core/src/test/java/org/apache/helix/integration/task/TestNoDoubleAssign.java
* (edit)
helix-core/src/main/java/org/apache/helix/task/AbstractTaskDispatcher.java
* (edit) helix-core/src/main/java/org/apache/helix/task/JobDispatcher.java
> TASK: Fix double-booking of tasks with task CurrentStates
> ---------------------------------------------------------
>
> Key: HELIX-808
> URL: https://issues.apache.org/jira/browse/HELIX-808
> Project: Apache Helix
> Issue Type: Improvement
> Reporter: Hunter L
> Assignee: Hunter L
> Priority: Major
>
> It was observed that TestNoDoubleAssign was failing intermittently. Upon
> debugging with more detailed logs, there was a race condition between newly
> starting tasks and dropping tasks. To prevent this, dropping state
> transitions will be prioritized and prevInstanceToTaskAssignment will be
> built from CurrentStates. This is needed to make sure the right number of
> tasks are assigned every task pipeline and dropping transitions happen right
> away.
>
> Changelist:
> 1\. Change the logic for generating prevInstToTaskAssignment so that it's
> based on CurrentState
> 2\. Add a special check for not updating task partition state upon
> Participant connection loss
> 3\. TestNoDoubleAssign passes consistently
> 4. Fix TestNoDoubleAssign so that there won't be any thread leak
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)