pkuwm commented on a change in pull request #799: [MSDS] Add REST endpoint to
get mapping of all sharding keys by realm
URL: https://github.com/apache/helix/pull/799#discussion_r383031448
##########
File path:
helix-rest/src/main/java/org/apache/helix/rest/metadatastore/MetadataStoreDirectory.java
##########
@@ -51,6 +52,14 @@
*/
Collection<String> getAllShardingKeys(String namespace);
+ /**
+ * Returns routing data in the given namespace.
+ *
+ * @param namespace namespace in metadata store directory.
+ * @return Routing data map: realm -> List of sharding keys
+ */
+ Map<String, List<String>> getRoutingData(String namespace);
Review comment:
Changed to `getNamespaceRoutingData(namespace)` to avoid having `of`, `in`.
----------------------------------------------------------------
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]