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

Participant should not fail state transition on fail to delete / relay message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Currently we have a general try-catch block in HelixTask and HelixTaskExecutor, which, upon any exception thrown from state transition routine, will fail state transition. However there are at least the following cases in which state transition should be considered as successful:

      • When we fail to delete message after successfully handled message and updated current state -> this is because we already completed state transition and current state is consistent between participant and ZK
      • When we fail to send out relay message > as relay message provides only best effort of delivering messages, which has nothing to do with state transition's results. In case of fail to relay message, controller will resend message which ensures correctness.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hzzh0301 Harry Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: