You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/08/09 22:52:49 UTC

[jira] [Commented] (HELIX-197) state model leak

    [ https://issues.apache.org/jira/browse/HELIX-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13735288#comment-13735288 ] 

Hudson commented on HELIX-197:
------------------------------

FAILURE: Integrated in helix #1127 (See [https://builds.apache.org/job/helix/1127/])
HELIX-197: fix state model leak, rb=13437 (zzhang: rev 11df95e810a0102584d4ba690dcbe241a8a00b1b)
* helix-core/src/test/java/org/apache/helix/messaging/handling/TestHelixTaskExecutor.java
* helix-core/src/main/java/org/apache/helix/participant/statemachine/ScheduledTaskStateModel.java
* helix-core/src/test/java/org/apache/helix/TestHelixTaskExecutor.java
* helix-core/src/main/java/org/apache/helix/participant/HelixStateMachineEngine.java
* helix-core/src/test/java/org/apache/helix/mock/participant/MockMSModelFactory.java
* helix-core/src/main/java/org/apache/helix/participant/statemachine/StateModelFactory.java
* helix-core/src/main/java/org/apache/helix/messaging/handling/HelixStateTransitionHandler.java
* helix-core/src/test/java/org/apache/helix/integration/manager/TestStateModelLeak.java
* helix-core/src/test/java/org/apache/helix/TestHelixTaskHandler.java

                
> state model leak
> ----------------
>
>                 Key: HELIX-197
>                 URL: https://issues.apache.org/jira/browse/HELIX-197
>             Project: Apache Helix
>          Issue Type: Bug
>            Reporter: dafu
>            Assignee: dafu
>
> currently helix is not removing state model when resource has been dropped. 
> 1) in OFFLINE->DROPPED case, the state model remains in OFFLINE state
> in use cases where resources are dynamically added and dropped, this will lead to memory leak of state models in OFFLINE state
> 2) in ERROR->DROPPED case, the state model remains in ERROR state
> in addition to leak, it will cause problems when we re-add the same resource in current session. the partition is  then still in ERROR state and no transition will take place

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira