helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhen Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HELIX-576) Make StateModelFactory change backward compatible
Date Sat, 14 Mar 2015 06:02:38 GMT
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:

- public abstract T createNewStateModel(String partitionName)
+ public abstract T createNewStateModel(String resourceName, String partitionName)

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

View raw message