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

hellostephen pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 88b364dec50 [log](connection)Remove reach connection limit debug log. 
(#47001) (#47018)
88b364dec50 is described below

commit 88b364dec50cfdaf1f5d885739836126fcb230e5
Author: James <lijib...@selectdb.com>
AuthorDate: Wed Jan 15 17:52:59 2025 +0800

    [log](connection)Remove reach connection limit debug log. (#47001) (#47018)
    
    backport: https://github.com/apache/doris/pull/47001
---
 fe/fe-core/src/main/java/org/apache/doris/qe/ConnectScheduler.java | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/ConnectScheduler.java 
b/fe/fe-core/src/main/java/org/apache/doris/qe/ConnectScheduler.java
index 900285fd194..ec020d07bc3 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/ConnectScheduler.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/ConnectScheduler.java
@@ -93,8 +93,6 @@ public class ConnectScheduler {
     // Register one connection with its connection id.
     public boolean registerConnection(ConnectContext ctx) {
         if (numberConnection.incrementAndGet() > maxConnections) {
-            LOG.info("Number connection {} has reach upper limit {}. 
Connection map : [{}]",
-                    numberConnection.get(), maxConnections, connectionMap);
             numberConnection.decrementAndGet();
             return false;
         }
@@ -102,8 +100,6 @@ public class ConnectScheduler {
         connByUser.putIfAbsent(ctx.getQualifiedUser(), new AtomicInteger(0));
         AtomicInteger conns = connByUser.get(ctx.getQualifiedUser());
         if (conns.incrementAndGet() > 
ctx.getEnv().getAuth().getMaxConn(ctx.getQualifiedUser())) {
-            LOG.info("User {}'s connection {} has reached upper limit {}. 
connByUser: [{}]", ctx.getQualifiedUser(),
-                    conns.get(), 
ctx.getEnv().getAuth().getMaxConn(ctx.getQualifiedUser()), connByUser);
             conns.decrementAndGet();
             numberConnection.decrementAndGet();
             return false;


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

Reply via email to