HorizonNet commented on a change in pull request #310: [HBASE-22591] :
RecoverableZooKeeper improvement for getData, getChil…
URL: https://github.com/apache/hbase/pull/310#discussion_r294091350
##########
File path:
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
##########
@@ -339,12 +311,21 @@ private void retryOrThrow(RetryCounter retryCounter,
KeeperException e,
*/
public byte[] getData(String path, Watcher watcher, Stat stat)
throws KeeperException, InterruptedException {
+ return getDataUtils(path, watcher, null, stat);
+ }
+
+ private byte[] getDataUtils(String path, Watcher watcher, Boolean watch,
Stat stat)
+ throws InterruptedException, KeeperException {
try (TraceScope scope =
TraceUtil.createTrace("RecoverableZookeeper.getData")) {
Review comment:
Ditto
----------------------------------------------------------------
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