You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Kanak Biscuitwala (JIRA)" <ji...@apache.org> on 2014/03/14 05:55:44 UTC

[jira] [Updated] (HELIX-390) Race condition: Checking HelixManager#isConnected is unreliable

     [ https://issues.apache.org/jira/browse/HELIX-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kanak Biscuitwala updated HELIX-390:
------------------------------------

    Fix Version/s: 0.6.3
                   0.7.1

> Race condition: Checking HelixManager#isConnected is unreliable
> ---------------------------------------------------------------
>
>                 Key: HELIX-390
>                 URL: https://issues.apache.org/jira/browse/HELIX-390
>             Project: Apache Helix
>          Issue Type: Bug
>            Reporter: Kanak Biscuitwala
>            Assignee: Kanak Biscuitwala
>             Fix For: 0.7.1, 0.6.3
>
>
> This led to a NPE in trying to execute state transitions due to the fact that the state model was never re-registered after a post-GC reconnection.
> The fix is to invoke the message handler's onConnected method in handleNewSession, and to put all necessary on-connect logic inside this method.



--
This message was sent by Atlassian JIRA
(v6.2#6252)