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

Call onCallback for CustomCodeCallbackHandler for FINALIZE type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.1, 0.6.4
    • None
    • None

    Description

      Many use cases assume that onCallback will be invoked with type FINALIZE when leadership is lost so that there is an opportunity to clean up. However, this is not the case, and the previous leader has no idea that it's not leader anymore.

      Long term the right thing to do is to split onCallback into 3 different methods, but for now, we should also invoke onCallback with the appropriate type, since this seems to be the expected behavior.

      Attachments

        Activity

          People

            kanak Kanak Biscuitwala
            kanak Kanak Biscuitwala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: