This is an automated email from the ASF dual-hosted git repository.

maoling pushed a commit to branch branch-3.6
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/branch-3.6 by this push:
     new 8c59c93  ZOOKEEPER-4384: [R] Fix 'sever' typo in ClientCnxn.
8c59c93 is described below

commit 8c59c93c9debb994a10d75642f543c63fe1e6cba
Author: Christine Poerschke <[email protected]>
AuthorDate: Sat Sep 25 19:40:59 2021 +0800

    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 <[email protected]>
    
    Reviewers: maoling <[email protected]>
    
    Closes #1761 from cpoerschke/patch-1
    
    (cherry picked from commit 531bddd5b43d2f0b3afbe0051642830c47030652)
    Signed-off-by: maoling <[email protected]>
---
 zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java 
b/zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java
index aeb95b6..7c31a2a 100644
--- a/zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java
+++ b/zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java
@@ -1300,7 +1300,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,

Reply via email to