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 <[email protected]>
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.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---