NealSun96 opened a new issue #795: Incorrect behavior in ZkRoutingDataReader.getRoutingData URL: https://github.com/apache/helix/issues/795 In the current version of `ZkRoutingDataReader`, its `getRoutingData` method has the following lines: ``` if (shardingKeys != null) { routingData.put(realmAddress, shardingKeys); } ``` This is an incorrect behavior because if a realm does not have the sharding keys list field, the realm will not be added to the returned routing data. We have decided that as long as the realm exists on ZooKeeper as a node, it should be included in the routing data regardless of whether it has associated sharding keys. The fix is to assign an empty list in the above condition.
---------------------------------------------------------------- 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]
