Yinan Li created HELIX-611:
------------------------------

             Summary: Helix should support callback on message handling in 
MessageHandler
                 Key: HELIX-611
                 URL: https://issues.apache.org/jira/browse/HELIX-611
             Project: Apache Helix
          Issue Type: Improvement
            Reporter: Yinan Li


For message processing it seems Helix schedules a task internally to handle a 
message (HelixTaskExecutor is used in DefaultMessagingService). This makes 
handling a SHUTDOWN message difficult as normally the action following the 
handling of a SHUTDOWN message is shutting down every components including the 
HelixManager. However, disconnecting a ZKHelixManager causes the task running 
the message handler to be interrupted. SendAndWait is probably not a good 
option here either as it's hard to estimate how much delay there will be to 
handle a message.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to