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

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

Zhen Zhang created HELIX-576:
--------------------------------

             Summary: 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.





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