You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2020/03/30 22:22:43 UTC
[GitHub] [helix] jiajunwang opened a new issue #919: Helix cache refresh may
read stale instance data from the expired session.
jiajunwang opened a new issue #919: Helix cache refresh may read stale instance data from the expired session.
URL: https://github.com/apache/helix/issues/919
Current, live instance and current states are updated separately based on ZK notification. However, whenever there is delayed processing in the ZK event queue, the pipeline might read current states based on an older live instance list. So the session Ids in that cache would be out of date. The result is that the pipeline finishes refreshing the cache with stale information.
This may lead to inconsistent views or even problematic controller rebalance decision.
To fix it completely, we need to address 2 points:
1. Ensure the current states are always refreshed consistently with the live instance nodes.
2. Ensure the callback handlers are also registered consistently. For example, due to the connection between the current state nodes and live instance nodes, we might read some new live instance nodes before it's ZK event being processed. In this case, it would be ideal that the corresponding current state listeners also registered.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org