TangSiyang2001 commented on PR #17132:
URL: https://github.com/apache/doris/pull/17132#issuecomment-1445411949

   sql client log
   ```
   mysql> insert into lineorder select * from lineorder limit 10000000;
   ERROR 1105 (HY000): ForwardToMasterException, msg: 
org.apache.doris.qe.MasterOpExecutor$ForwardToMasterException: Forward 
statement 21 to Master TNetworkAddress(hostname:127.0.0.1, port:9020) failed, 
cause: Unknown exception
   ```
   fe log
   ```
   2023-02-27 01:02:15,733 WARN (mysql-nio-pool-6|140) 
[StmtExecutor.execute():630] execute Exception. stmt[22, 
9bed44b1950b4351-b003c1e13820c44e]
   org.apache.doris.qe.MasterOpExecutor$ForwardToMasterException: Forward 
statement 22 to Master TNetworkAddress(hostname:127.0.0.1, port:9020) failed, 
cause: Unknown exception
           at 
org.apache.doris.qe.MasterOpExecutor.forward(MasterOpExecutor.java:137) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.MasterOpExecutor.execute(MasterOpExecutor.java:73) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.StmtExecutor.forwardToMaster(StmtExecutor.java:695) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:497) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:425) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:415) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.ConnectProcessor.dispatch(ConnectProcessor.java:557) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.ConnectProcessor.processOnce(ConnectProcessor.java:794) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.mysql.ReadListener.lambda$handleEvent$0(ReadListener.java:52) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
~[?:1.8.0_352]
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
~[?:1.8.0_352]
           at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_352]
   ```
   However, since the socket timeout exception will be classified as type: 
`unkonwn exception` in thrift, rather than `conn timeout` in reality, the 
result will not be `conn timeout` still. But If we use  `conn timeout` msg to 
cover the `unkonwn exception`, that may hide the msg of other `unkonwn 
exception`s, should I enhance it further @freemandealer ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to