NealSun96 opened a new issue #737: Add routing data validation logic to 
ZkRoutingDataWriter
URL: https://github.com/apache/helix/issues/737
 
 
   We need to add validation logic to ZkRoutingDataWriter to ensure that the 
routing data written to ZooKeeper is valid, and keeping the data on ZooKeeper 
side at a valid state. Keeping it at a valid state means there shouldn't be 1. 
repeated sharding keys, 2. sharding keys that are parent keys to other sharding 
keys, 3. sharding keys that have a parent key that is already a sharding key. 
   The validation logic should be applied during `addShardingKey` and 
`setRoutingData` operations. Since the same validation logic has been 
implemented during the construction of `TrieRoutingData`, the actual validation 
code will be an attempt to construct a `TrieRoutingData`: if it succeeds, the 
routing data is valid; otherwise it is not. 

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

Reply via email to