You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 765185a
Browse filesBrowse the repository at this point in the historyBrowse files
branch-4.1: [fix](arrow-flight) Release a finished Flight query's coordinator instead of holding it until wait_timeout #67504 (#67558)
Cherry-picked from #67504
### Backport notes
Two conflicts, both resolved without changing behaviour:
- `Config`: branch-4.1 still has the bilingual
`autobucket_partition_size_per_bucket_gb` description
that master rewrote, so that entry is kept as it is here and the new
`arrow_flight_deferred_query_idle_timeout_second` is inserted above it,
verbatim.
- `StmtExecutor`: the comment above the deferral gate is taken from
upstream verbatim, so it already
mentions #67368. That fix is being backported separately (see below);
the gate itself does not
depend on it.
One adaptation: `SplitAssignment` is
`org.apache.doris.datasource.SplitAssignment` on this branch, not
`org.apache.doris.datasource.split.SplitAssignment`, so
`ArrowFlightDeferralGateTest` imports it from
its package here.
Everything else -- `ScanNode.hasBatchSplitSource`,
`Coordinator.hasBatchSplitSource`, the
`ConnectContext` idle reaper, `FlightSqlConnectProcessor`,
`StmtExecutorTest`,
`FlightSqlDeferredQueryIdleTimeoutTest` and both regression suites --
applied cleanly.
### Merge order
Touches the same `StmtExecutor` comment as #67557 (the branch-4.1
backport of #67487). Merging that one first keeps this
one conflict-free.
### Local verification
`./build.sh --fe` on this branch: **BUILD SUCCESS** (2:26 min), no
errors, checkstyle clean on every
module -- `fe-common` (the new `Config` entry) and `fe-core` (the five
main-source changes plus
`ArrowFlightDeferralGateTest`, `FlightSqlDeferredQueryIdleTimeoutTest`
and the new `StmtExecutorTest`
case) included. The regression suites were not run locally.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01DzUYFcGHQH3bnLGCjpncVj
Co-authored-by: Raghvendra Singh <[email protected]>
0 commit comments