wyj12501 opened a new issue, #15783: URL: https://github.com/apache/doris/issues/15783
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version trunk 7767931aca13d03a6c9bd002d68ad3101afb0eb7 ### What's Wrong? `StmtExecutionAction` might be blocked **forever** when concurrent requests more than 2. `StmtExecutionAction` would never be timeout because the threadpool in `StatementSubmitter` with `LogDiscardPolicy` do NOT throw exceptions when tasks are rejected 当并发请求大于2时,StmtExecutionAction 会一直阻塞,请求一直不会返回。 由于 StatementSubmitter 中的线程池使用了LogDiscardPolicy,被拒绝的请求不会抛异常。StmtExecutionAction 中的future.get() 没有超时,只会一直等待。 ### What You Expected? add timeout parameter when invoke `future.get()` https://github.com/apache/doris/blob/7767931aca13d03a6c9bd002d68ad3101afb0eb7/fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/StmtExecutionAction.java#L153 ### How to Reproduce? concurrent requests this interface more than 2. POST /api/query/<ns_name>/<db_name> ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: commits-unsubscr...@doris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org