This is an automated email from the ASF dual-hosted git repository.
924060929 pushed a commit to branch fe_local_shuffle
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/fe_local_shuffle by this push:
new 6b9352efd2a [fix](local shuffle) Old Coordinator must disable FE local
shuffle planner for BE
6b9352efd2a is described below
commit 6b9352efd2adc4e4f18ef8be32deb8cff6531abf
Author: 924060929 <[email protected]>
AuthorDate: Fri May 1 08:13:38 2026 +0800
[fix](local shuffle) Old Coordinator must disable FE local shuffle planner
for BE
When old Coordinator is used (canUseNereidsDistributePlanner=false), FE does
not plan local exchange nodes. But enable_local_shuffle_planner=true
(default)
tells BE not to plan its own LE either, causing pooling fragments to hang on
SHUFFLE_DATA_DEPENDENCY with no LE from either side.
Force enable_local_shuffle_planner=false in old Coordinator's query options
so BE falls back to its native _plan_local_exchange.
---
fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java
b/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java
index e8bc7454874..c35dfe1aa08 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java
@@ -391,6 +391,7 @@ public class Coordinator implements CoordInterface {
this.queryGlobals.setTimeZone(timezone);
this.queryGlobals.setLoadZeroTolerance(loadZeroTolerance);
this.queryOptions.setBeExecVersion(Config.be_exec_version);
+ this.queryOptions.setEnableLocalShufflePlanner(false);
List<Integer> fragmentIds = new ArrayList<>();
for (PlanFragment fragment : fragments) {
@@ -427,6 +428,8 @@ public class Coordinator implements CoordInterface {
this.queryOptions.setFeProcessUuid(ExecuteEnv.getInstance().getProcessUUID());
this.queryOptions.setMysqlRowBinaryFormat(
context.getCommand() == MysqlCommand.COM_STMT_EXECUTE);
+ // Old Coordinator does not plan local exchange in FE. Force BE to
plan its own.
+ this.queryOptions.setEnableLocalShufflePlanner(false);
}
public ConnectContext getConnectContext() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]