narendly commented on a change in pull request #1197:
URL: https://github.com/apache/helix/pull/1197#discussion_r464205325
##########
File path:
helix-rest/src/main/java/org/apache/helix/rest/common/HelixDataAccessorWrapper.java
##########
@@ -64,22 +65,38 @@ public HelixDataAccessorWrapper(ZKHelixDataAccessor
dataAccessor) {
_restClient = CustomRestClientFactory.get();
}
+ public HelixDataAccessorWrapper(ZKHelixDataAccessor dataAccessor,
CustomRestClient customRestClient) {
+ super(dataAccessor);
+ _restClient = customRestClient;
+ }
+
public Map<String, Map<String, Boolean>>
getAllPartitionsHealthOnLiveInstance(
RESTConfig restConfig, Map<String, String> customPayLoads) {
+ return getAllPartitionsHealthOnLiveInstance(restConfig, customPayLoads,
false);
+ }
+
+ public Map<String, Map<String, Boolean>>
getAllPartitionsHealthOnLiveInstance(
Review comment:
Add a JavaDoc for a public method. Here, we should explain what
skipZkRead parameter does, and its implications.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]