github-actions[bot] commented on code in PR #68499: URL: https://github.com/apache/doris/pull/68499#discussion_r4661921540
########## fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java: ########## @@ -83,6 +83,8 @@ import org.apache.doris.nereids.exceptions.ParseException; import org.apache.doris.nereids.glue.LogicalPlanAdapter; import org.apache.doris.nereids.parser.NereidsParser; +import org.apache.doris.nereids.spm.SPMOptimizer; Review Comment: [P1] Retry forwarded query EXPLAIN transport failures. This new branch routes `ExplainCommand` to `forwardToMaster()`, but that method passes `isQuery()` into `MasterOpExecutor`; `isQuery()` is false for every `ExplainCommand`, so `FEOpExecutor` sets `shouldNotRetry` and throws after the first transient `TTransportException`. A read-only EXPLAIN can therefore fail on a recoverable FE connection error while the equivalent SELECT retries. Pass the query-EXPLAIN classification through to the executor and cover the retry path. -- 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]
