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

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


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

commit a15f0b2248d0eb0e4520fdb32e5fa64a2611906d
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 a516d84..0766624 100644
--- a/zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java
+++ b/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,

Reply via email to