NealSun96 opened a new issue #842: Implement setRoutingData for 
MetadataStoreDirectoryService
URL: https://github.com/apache/helix/issues/842
 
 
   `setRoutingData` was an endpoint that was defined but not finished. It 
allows users to overwrite whatever routing data there is for a namespace and 
replace it with a new set of data. This endpoint was designed with convenience 
in mind because it allows users to specify the routing data in one call instead 
of making multiple calls to create zkrealms and add sharding keys. 
   Originally, it was designed that this endpoint will validate the routing 
data provided by users. However, we have decided against that (related: #841 ). 
This is because `getRoutingData` is able to return invalid or incomplete 
routing data, such as one that includes a zkRealm with no sharding keys. 
`setRoutingData` should be able to use the response from `getRoutingData` 
without an error. Users will be notified in the manual that `setRoutingData` 
does not validate the routing data they provided, and they will be responsible 
for the validity. 

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