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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
