weizuo93 commented on a change in pull request #7832:
URL: https://github.com/apache/incubator-doris/pull/7832#discussion_r789551680
##########
File path: fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
##########
@@ -1248,10 +1248,15 @@ private void handleInsertStmt() throws Exception {
coord.exec();
- coord.join(context.getSessionVariable().getQueryTimeoutS());
+ boolean notTimeout =
coord.join(context.getSessionVariable().getQueryTimeoutS());
if (!coord.isDone()) {
coord.cancel();
-
ErrorReport.reportDdlException(ErrorCode.ERR_EXECUTE_TIMEOUT);
+ if (notTimeout) {
+
ErrorReport.reportDdlException(ErrorCode.ERR_UNHEALTHY_BACKEND_EXISTS);
Review comment:
> Or can you print out the wrong backend id through the error code
OK, thanks for your review.
--
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]