[
https://issues.apache.org/jira/browse/HELIX-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhen Zhang updated HELIX-576:
-----------------------------
Description:
In order to fix HELIX-552, we made a backward incompatible change in
StateModelFactory:
{noformat}
- public abstract T createNewStateModel(String partitionName)
+ public abstract T createNewStateModel(String resourceName, String
partitionName)
{noformat}
This introduces some issues when people upgrade helix. To mitigate the problem,
we need bring back the old abstract method. Make it deprecated instead of
removing it.
The backward incompatible commit is here:
https://git-wip-us.apache.org/repos/asf?p=helix.git;a=commit;h=9ddd0af347037f585a52b83bbc3a6b11a3934c82
was:
In order to fix HELIX-552, we made a backward incompatible change in
StateModelFactory:
{noformat}
- public abstract T createNewStateModel(String partitionName)
+ public abstract T createNewStateModel(String resourceName, String
partitionName)
{noformat}
This introduces some issues when people upgrade helix. To mitigate the problem,
we need bring back the old abstract method. Make it deprecated instead of
removing it.
> Make StateModelFactory change backward compatible
> -------------------------------------------------
>
> Key: HELIX-576
> URL: https://issues.apache.org/jira/browse/HELIX-576
> Project: Apache Helix
> Issue Type: Bug
> Reporter: Zhen Zhang
>
> In order to fix HELIX-552, we made a backward incompatible change in
> StateModelFactory:
> {noformat}
> - public abstract T createNewStateModel(String partitionName)
> + public abstract T createNewStateModel(String resourceName, String
> partitionName)
> {noformat}
> This introduces some issues when people upgrade helix. To mitigate the
> problem, we need bring back the old abstract method. Make it deprecated
> instead of removing it.
> The backward incompatible commit is here:
> https://git-wip-us.apache.org/repos/asf?p=helix.git;a=commit;h=9ddd0af347037f585a52b83bbc3a6b11a3934c82
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)