You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Hao Zhang (JIRA)" <ji...@apache.org> on 2018/03/20 00:34:00 UTC
[jira] [Created] (HELIX-681) Participant should not fail state
transition on fail to delete / relay message
Hao Zhang created HELIX-681:
-------------------------------
Summary: Participant should not fail state transition on fail to delete / relay message
Key: HELIX-681
URL: https://issues.apache.org/jira/browse/HELIX-681
Project: Apache Helix
Issue Type: Bug
Reporter: Hao Zhang
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)