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/04/03 20:54:38 UTC

[GitHub] [helix] NealSun96 opened a new issue #927: MetadataStoreDirectory routing data cache refresh bug

NealSun96 opened a new issue #927: MetadataStoreDirectory routing data cache refresh bug
URL: https://github.com/apache/helix/issues/927
 
 
   The current routing data cache refresh behavior in `ZkMetadataStoreDirectory` is incorrect. Using the following steps will cause an erroneous state:
   1. Create a valid set of routing data;
   2. Remove the routing data using `setRoutingData()`;
   3. All "routing data fetching" endpoints will still retain the routing data from step 1; all "using routing data to route" endpoints will still use the routing data from step 1. 
   
   This is due to the internal routing data cache not being cleared before updating in `ZkMetadataStoreDirectory`. In the case when exceptions are raised during updating (which is excepted when routing data is empty/invalid and is correctly handled in `ZkMetadataStoreDirectory`), the old data is not erased. 

----------------------------------------------------------------
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


[GitHub] [helix] narendly closed issue #927: MetadataStoreDirectory routing data cache refresh bug

Posted by GitBox <gi...@apache.org>.
narendly closed issue #927: MetadataStoreDirectory routing data cache refresh bug
URL: https://github.com/apache/helix/issues/927
 
 
   

----------------------------------------------------------------
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