Hunter L created HELIX-810:
------------------------------
Summary: HELIX: Fix NPE in InstanceMessagesCache
Key: HELIX-810
URL: https://issues.apache.org/jira/browse/HELIX-810
Project: Apache Helix
Issue Type: Improvement
Reporter: Hunter L
Assignee: Hunter L
It was observed that InstanceMessagesCache was throwing an NPE when it tries to
setRelayTime(). This is likely because some relay messages have target
instances that are no longer live (thus not in liveInstanceMap).
InstanceMessagesCache must handle this gracefully by skipping the operation. We
do not delete these msgs right away because the instance may come back alive.
Otherwise, after some time has passed, the msg will get expired by the
Controller and be removed.
Changelist;
1. Add a try-catch block
2. Improve logging
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)