pkuwm commented on a change in pull request #644: Add new interface
IZkStateListener to provide session aware handleNewSession for ZkHelixManager
URL: https://github.com/apache/helix/pull/644#discussion_r355296292
##########
File path:
helix-core/src/main/java/org/apache/helix/manager/zk/ZkCallbackCache.java
##########
@@ -220,7 +220,7 @@ public void handleStateChanged(KeeperState state) throws
Exception {
}
@Override
- public void handleNewSession() throws Exception {
+ public void handleNewSession(final String sessionId) throws Exception {
Review comment:
My understanding is, if users decide to import the new listener, users
should realize that handleNewSession() is not available and they should use
handleNewSession(sessionId). If users are using the old public method, they are
forced to replace it with the new method.
----------------------------------------------------------------
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]