NealSun96 opened a new issue #820: Fix sharding key conflicts in 
TestZkMetadataStoreDirectory
URL: https://github.com/apache/helix/issues/820
 
 
   In `TestZkMetadataStoreDirectory`, two of the test cases, namely 
`testDataChangeCallback` and `testChildChangeCallback` both insert a new 
sharding key "/a/b/c/d/e" into the same set of routing data. This makes the 
routing data invalid, because the same key is pointing to two realms. 
   However, this did not break the test because the test doesn't rely on 
`MetadataStoreRoutingData`, but instead relies on raw routing data. Even though 
the construction of `MetadataStoreRoutingData` failed after the second 
insertion of "/a/b/c/d/e", it went undetected. 

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