ソースを参照

ZOOKEEPER-4384: [R] Fix 'sever' typo in ClientCnxn.

Hello. Not yet created a JIRA issue for this small logging change, but happy to open one if that is preferred.

Stumbled across this in the ZK logs; also checked via `git grep -in "sever[^a-z]"` that this is the only place with the typo.

Author: Christine Poerschke <cpoerschke@bloomberg.net>

Reviewers: maoling <maoling@apache.org>

Closes #1761 from cpoerschke/patch-1
Christine Poerschke 3 年 前
コミット
531bddd5b4

+ 1 - 1
zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java

@@ -1290,7 +1290,7 @@ public class ClientCnxn {
                         break;
                     } else {
                         LOG.warn(
-                            "Session 0x{} for sever {}, Closing socket connection. "
+                            "Session 0x{} for server {}, Closing socket connection. "
                                 + "Attempting reconnect except it is a SessionExpiredException.",
                             Long.toHexString(getSessionId()),
                             serverAddress,