pkuwm opened a new issue #1343: URL: https://github.com/apache/helix/issues/1343
In CallbackHanlder's `subscribeForChanges()`, children names need to be fetched. `subscribeChildChange(path, callbackType)` does actually have the children list, but it doesn't return, and later `getChildren()` is called again. It wastes one zk call: not only wasting time in handling a callback, but also adds more read pressure to zk server. We could use the return result from subscribeChildChange() and save one `getChildren()` call. ---------------------------------------------------------------- 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]
