narendly 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_r383023440
##########
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:
Nit: should we rename this method to `getAllRoutingDataInNamespace(String
namespace)`? That way there's no ambiguity and is more consistent with other
methods' names in this class.
----------------------------------------------------------------
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]