Uploaded image for project: 'Apache Helix'
  1. Apache Helix
  2. HELIX-576

Make StateModelFactory change backward compatible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.5
    • None
    • None

    Description

      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.

      The backward incompatible commit is here:
      https://git-wip-us.apache.org/repos/asf?p=helix.git;a=commit;h=9ddd0af347037f585a52b83bbc3a6b11a3934c82

      Attachments

        Activity

          People

            dafu Zhen Zhang
            dafu Zhen Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: