You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ca...@apache.org on 2021/07/18 12:54:52 UTC

[incubator-doris] branch master updated: [LOG] Errors during mysql connection establishment should be warned (#6257)

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

caiconghui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new e21bb50  [LOG] Errors during mysql connection establishment should be warned (#6257)
e21bb50 is described below

commit e21bb504a200c494e2319a70d0fe76ea752737d0
Author: zhoukang <zh...@gmail.com>
AuthorDate: Sun Jul 18 20:54:40 2021 +0800

    [LOG] Errors during mysql connection establishment should be warned (#6257)
    
    * Errors during mysql connection establishment should be warned
    
    Co-authored-by: yuzhou.zk <yu...@alibaba-inc.com>
---
 fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java b/fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java
index e0cd3ab..a2e191c 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/mysql/nio/AcceptListener.java
@@ -82,6 +82,8 @@ public class AcceptListener implements ChannelListener<AcceptingChannel<StreamCo
                     // should be unexpected exception, so print warn log
                     if (context.getCurrentUserIdentity() != null) {
                         LOG.warn("connect processor exception because ", e);
+                    } else if (e instanceof Error) {
+                        LOG.error("connect processor exception because ", e);
                     } else {
                         // for unauthrorized access such lvs probe request, may cause exception, just log it in debug level
                         LOG.debug("connect processor exception because ", e);

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org