rongli created IOTDB-5794: ----------------------------- Summary: [thrift] when use sessionPool.fetchAllConnections(),the datanode print TProtocolException Key: IOTDB-5794 URL: https://issues.apache.org/jira/browse/IOTDB-5794 Project: Apache IoTDB Issue Type: Bug Components: Core/Server Affects Versions: master branch, 1.0, 1.1.0, 1.2 Reporter: rongli Attachments: image-2023-04-19-11-30-30-250.png, image-2023-04-19-11-30-42-929.png
when use fetchAllConnections(), Sometimes it doesn't work。 datanode throws TProtocolException: Required field 'userName' was not present! Struct: TSConnectionInfo(userName:null, logInTime:0, connectionId:172.20.31.19:57584, type:THRIFT_BASED). Under what circumstances does this problem occur。 Sometimes the field 'userName' maybe empty branch:rel/1.0、rel/1.1、master ------ fetchAllConnections方法有时候无法正常返回连接信息。 查看服务器出现如下日志。不确定什么情况下会出现该问题,但是经常会出现。 看日志是某些连接 'userName' 为空导致的,可能是建立了thrift连接但没有正常使用? 影响分支:rel/1.0、rel/1.1、master !image-2023-04-19-11-30-42-929.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)