You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Zhen Zhang (JIRA)" <ji...@apache.org> on 2015/03/17 22:54:39 UTC

[jira] [Reopened] (HELIX-576) Make StateModelFactory change backward compatible

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

Zhen Zhang reopened HELIX-576:
------------------------------

> 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
>            Assignee: 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)