You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2021/12/09 06:26:26 UTC

[iotdb] branch ClientStuckBug created (now 2278d85)

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

jackietien pushed a change to branch ClientStuckBug
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at 2278d85  Fix all client connections are stuck bug caused by logback bug

This branch includes the following new commits:

     new 2278d85  Fix all client connections are stuck bug caused by logback bug

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[iotdb] 01/01: Fix all client connections are stuck bug caused by logback bug

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch ClientStuckBug
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 2278d85346a870c3fcd4c212ce29b8c4ebdd9b44
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Thu Dec 9 14:25:44 2021 +0800

    Fix all client connections are stuck bug caused by logback bug
---
 .../org/apache/iotdb/db/service/basic/BasicServiceProvider.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/service/basic/BasicServiceProvider.java b/server/src/main/java/org/apache/iotdb/db/service/basic/BasicServiceProvider.java
index cfedf03..8734ccc 100644
--- a/server/src/main/java/org/apache/iotdb/db/service/basic/BasicServiceProvider.java
+++ b/server/src/main/java/org/apache/iotdb/db/service/basic/BasicServiceProvider.java
@@ -165,12 +165,12 @@ public class BasicServiceProvider {
       openSessionResp.setMessage("Login successfully");
 
       sessionId = sessionManager.requestSessionId(username, zoneId);
-      AUDIT_LOGGER.info("User {} opens Session-{}", username, sessionId);
       LOGGER.info(
-          "{}: Login status: {}. User : {}",
+          "{}: Login status: {}. User : {}, opens Session-{}",
           IoTDBConstant.GLOBAL_DB_NAME,
           openSessionResp.getMessage(),
-          username);
+          username,
+          sessionId);
     } else {
       openSessionResp.setMessage(loginMessage != null ? loginMessage : "Authentication failed.");
       openSessionResp.setCode(TSStatusCode.WRONG_LOGIN_PASSWORD_ERROR.getStatusCode());