Maleware commented on code in PR #2114:
URL: https://github.com/apache/zookeeper/pull/2114#discussion_r1467466098
##########
zookeeper-server/src/main/java/org/apache/zookeeper/server/NettyServerCnxn.java:
##########
@@ -528,7 +528,7 @@ private void receiveMessage(ByteBuf message) {
ZooKeeperServer zks = this.zkServer;
if (zks == null || !zks.isRunning()) {
LOG.info("Closing connection to {} because the
server is not ready",
- getRemoteSocketAddress());
+ getRemoteSocketAddress(), zks == null ? "null"
: zks.getState());
Review Comment:
I think you are right, UNKOWN is a bit more speaking. Done.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]