kaisun2000 commented on pull request #1302:
URL: https://github.com/apache/helix/pull/1302#issuecomment-679394685


   > > From the description of #1296, I still don't quite understand what 
caused the issue.
   > > So a finalize() from callback handler causing the routingTableProvider 
to reset and later update see empty snapshot.
   > > So what caused the finalize? which path?
   > 
   > When we dropped a customized state type (TYPE_C for example), the 
associated customized view path and its children nodes for this customized 
state type is deleted, so the callback handler is finalized. An example for the 
path would be: /cluster_name/CUSTOMIZEDVIEW/TYPE_C, 
/cluster_name/CUSTOMIZEDVIEW/TYPE_C/resource_name
   
   So when customizedview deleting types would cause routingTableProvider 
listening on the type path to reset(). This is normal flow. But later usage of 
routingTableProvider would see empty snapshot which is also expected I guess.  
But in the code, see my comment in the code, where do the deletion happening?


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to