yiguolei commented on code in PR #20048:
URL: https://github.com/apache/doris/pull/20048#discussion_r1205404138
##########
fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java:
##########
@@ -617,6 +620,9 @@ public void executeByLegacy(TUniqueId queryId) throws
Exception {
throw e;
} finally {
queryAnalysisSpan.end();
+ if (queryQueue != null) {
Review Comment:
try (Token t = queue.offer())
and in token's close method, try to --concurrenty queries
##########
fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java:
##########
@@ -617,6 +620,9 @@ public void executeByLegacy(TUniqueId queryId) throws
Exception {
throw e;
} finally {
queryAnalysisSpan.end();
+ if (queryQueue != null) {
Review Comment:
like CPP's RAII
--
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]