Skip to content

branch-4.1: [fix](doris catalog) FragmentMgr should not cancel virtual doris cluster query #62135#62213

Merged
yiguolei merged 1 commit intobranch-4.1from
auto-pick-62135-branch-4.1
Apr 9, 2026
Merged

branch-4.1: [fix](doris catalog) FragmentMgr should not cancel virtual doris cluster query #62135#62213
yiguolei merged 1 commit intobranch-4.1from
auto-pick-62135-branch-4.1

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Apr 8, 2026

Cherry-picked from #62135

…ter query (#62135)

RuntimeLogger 2026-03-10 06:52:47,187 INFO (mysql-nio-pool-0|263)
[MultiFragmentsPipelineTask.cancelExecute():112] Fragment has already
been cancelled. Query 125d099a3c8644db-b25df79355a22d7d backend: Backend
[id=1770171528024,
host=[doris-be-0.doris-be-internal.doris.svc.cluster.local](http://doris-be-0.doris-be-internal.doris.svc.cluster.local/),
heartbeatPort=9050, alive=true, lastStartTime=2026-03-10 05:13:37,
process epoch=1773119617506, isDecommissioned=false, tags:
{location=default}], backendStatus:
[lastSuccessReportTabletsTime='2026-03-10 06:52:31',
lastStreamLoadTime=-1, isQueryDisabled=false, isLoadDisabled=false,
currentFragmentNum=0, lastFragmentUpdateTime=1773125544536]
RuntimeLogger 2026-03-10 06:52:47,187 WARN (mysql-nio-pool-0|263)
[StmtExecutor.handleQueryWithRetry():927] retry due to exception errCode
= 2, detailMessage =
([doris-be-0.doris-be-internal.doris.svc.cluster.local](http://doris-be-0.doris-be-internal.doris.svc.cluster.local/))[CANCELLED]Source
frontend is not running or restarted. retried 0 times. is rpc error:
false, is user error: true.
RuntimeLogger 2026-03-10 06:52:47,187 WARN (mysql-nio-pool-0|263)
[StmtExecutor.execute():550] Nereids execute failed. stmt[144,
125d099a3c8644db-b25df79355a22d7d]
org.apache.doris.common.UserException: errCode = 2, detailMessage =
([doris-be-0.doris-be-internal.doris.svc.cluster.local](http://doris-be-0.doris-be-internal.doris.svc.cluster.local/))[CANCELLED]Source
frontend is not running or restarted
        at
org.apache.doris.qe.runtime.QueryProcessor.doGetNext(QueryProcessor.java:166)
        at
org.apache.doris.qe.runtime.QueryProcessor.getNext(QueryProcessor.java:123)
        at
org.apache.doris.qe.NereidsCoordinator.getNext(NereidsCoordinator.java:217)
        at
org.apache.doris.qe.StmtExecutor.executeAndSendResult(StmtExecutor.java:1321)
        at
org.apache.doris.qe.StmtExecutor.handleCacheStmt(StmtExecutor.java:1183)
        at
org.apache.doris.qe.StmtExecutor.handleQueryStmt(StmtExecutor.java:1254)
        at
org.apache.doris.qe.StmtExecutor.handleQueryWithRetry(StmtExecutor.java:914)
        at
org.apache.doris.qe.StmtExecutor.executeByNereids(StmtExecutor.java:818)
        at
org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:541)
        at
org.apache.doris.qe.StmtExecutor.queryRetry(StmtExecutor.java:500)
        at
org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:485)
        at
org.apache.doris.qe.ConnectProcessor.executeQuery(ConnectProcessor.java:311)
        at
org.apache.doris.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:198)
        at
org.apache.doris.qe.MysqlConnectProcessor.handleQuery(MysqlConnectProcessor.java:231)
        at
org.apache.doris.qe.MysqlConnectProcessor.dispatch(MysqlConnectProcessor.java:259)
        at
org.apache.doris.qe.MysqlConnectProcessor.processOnce(MysqlConnectProcessor.java:403)
        at
org.apache.doris.mysql.ReadListener.lambda$handleEvent$0(ReadListener.java:52)
        at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
@github-actions github-actions bot requested a review from yiguolei as a code owner April 8, 2026 06:36
@Thearas
Copy link
Copy Markdown
Contributor

Thearas commented Apr 8, 2026

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring closed this Apr 8, 2026
@dataroaring dataroaring reopened this Apr 8, 2026
@Thearas
Copy link
Copy Markdown
Contributor

Thearas commented Apr 8, 2026

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

BE UT Coverage Report

Increment line coverage 84.62% (11/13) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 53.05% (19863/37440)
Line Coverage 36.56% (186952/511413)
Region Coverage 32.89% (145165/441393)
Branch Coverage 34.00% (63593/187051)

@hello-stephen
Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 91.43% (32/35) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.39% (26162/36648)
Line Coverage 54.23% (276405/509716)
Region Coverage 51.69% (230189/445357)
Branch Coverage 53.00% (99427/187581)

@yiguolei yiguolei merged commit 089c365 into branch-4.1 Apr 9, 2026
27 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants