helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HELIX-637) StateModelDefinition is not updated when it changed
Date Mon, 31 Oct 2016 18:58:58 GMT

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

ASF GitHub Bot commented on HELIX-637:
--------------------------------------

GitHub user dasahcc opened a pull request:

    https://github.com/apache/helix/pull/57

    [HELIX-637] Populate the StateModelDefinition once it is updated

    Did a check for StateModeDefinition. Will be rewrite once it is updated.
    
    Currently, if StateModelDefinition already exists in the Znode, even it has already been
changed, Helix will not populate the latest version.
    It is because in the StateModelDefinition write into ZK function, it only does create
operation instead of update.
    Fix: 1. Check whether there already exists StateModelDefition.
    2. Compare if it is different or not.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dasahcc/helix helix-0.6.x

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/helix/pull/57.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #57
    
----
commit 08ee1a323690e929eda355891309ece814142cfe
Author: Junkai Xue <jxue@linkedin.com>
Date:   2016-10-31T18:48:17Z

    [HELIX-637] Populate the StateModelDefinition once it is updated
    
    Did a check for StateModeDefinition. Will be rewrite once it is updated.

----


> StateModelDefinition is not updated when it changed
> ---------------------------------------------------
>
>                 Key: HELIX-637
>                 URL: https://issues.apache.org/jira/browse/HELIX-637
>             Project: Apache Helix
>          Issue Type: Bug
>          Components: helix-core
>    Affects Versions: 0.6.4
>            Reporter: Junkai Xue
>            Assignee: Junkai Xue
>             Fix For: 0.6.x
>
>
> Currently, if StateModelDefinition already exists in the Znode, even it has already been
changed, Helix will not populate the latest version.
> It is because in the StateModelDefinition write into ZK function, it only does create
operation instead of update.
> Fix: 1. Check whether there already exists StateModelDefition.
>        2. Compare if it is different or not. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message