Skip to content

Commit eecedcb

Browse files
morningmanclaude
andcommitted
[DO NOT MERGE](arrow-flight) TEMP: disable coordinator deferral to verify apache#62259 regression
Temporary verification commit. Comments out the deferral in StmtExecutor so the coordinator is closed eagerly at the end of GetFlightInfo (pre-fix behavior), releasing the external-table batch SplitSource too early. This is expected to make the BE's fetchSplitBatch during DoGet fail with "Split source X is released" and the regression test_iceberg_arrow_flight_split_source FAIL, proving the test catches apache#62259. REVERT this commit before merging the PR. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
1 parent cd50205 commit eecedcb

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,9 +1457,14 @@ public void executeAndSendResult(boolean isOutfileQuery, boolean isSendFields,
14571457
// hold) alive by deferring its close to ConnectContext, instead of closing it in the
14581458
// finally block below which would release the SplitSource too early. See #62259.
14591459
// (Point queries use a different coordBase and are not deferred.)
1460+
// TEMP(verify #62259, DO NOT MERGE): disable the deferral so the coordinator is
1461+
// closed eagerly in the finally below (pre-fix behavior), releasing the batch
1462+
// SplitSource at the end of GetFlightInfo. This should make the BE's fetchSplitBatch
1463+
// during DoGet fail with "Split source X is released" and the regression
1464+
// test_iceberg_arrow_flight_split_source FAIL. Revert this block before merge.
14601465
if (coordBase == coord) {
1461-
deferredForArrowFlight = true;
1462-
context.addFlightSqlDeferredExecutor(this);
1466+
// deferredForArrowFlight = true;
1467+
// context.addFlightSqlDeferredExecutor(this);
14631468
}
14641469
return;
14651470
}

0 commit comments

Comments
 (0)