Repository navigation
feat: execute Sirius Substrait reads through Flight - #26981
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
Addressed both remaining blockers at head
The requested deep review also found and fixed two independent exporter closure defects:
Additional validation after confirming newest
No inline review conversations exist on this PR; both change requests were top-level reviews. |
aptend
left a comment
There was a problem hiding this comment.
Re-review completed on exact head 2f2587eab0b88f499eb3f7b72e4e4aac16bc1ddb, including all prior review history and the later admission-lifecycle hardening. The two blockers from head 0494c82bc218 are closed: compile contexts retain CompilePlanMarkKey without leaking SIDECAR selection into sibling statements, and hinted binary/text prepared executions bypass the cached native topology across repeated reuse. I also re-audited cancellation/quiescence, retryable lease release, replay ownership, deadline/TTL ordering, forced resolver shutdown, and the new post-admission build-failure recovery; no remaining blocking Q1-Q3 path was confirmed. Focused frontend/compile/Flight/Substrait regressions passed, and the full Flight plus Substrait suites passed under the race detector.
XuPeng-SH
left a comment
There was a problem hiding this comment.
Re-review completed on exact head 2dd6cca170b85a8af70ce409b4e62cb3fdda550b. Since the previously approved head, the only feature-side change is the TLS startup-test timeout correction; the rest is a merge of current main. I re-audited the previously blocking ownership paths: ambiguous prepare and post-run cancellation retain retryable cleanup ownership, lease release remains retryable until full completion, DoGet is deadline-bounded, replay survives runtime shutdown, the selector is statement-scoped, compile counters are preserved, and hinted prepared executions bypass stale cached topology. No new blocking Q1-Q3 path was confirmed.
The affected Flight, Substrait, compile, frontend, and CN package suites passed locally. The critical cancellation/reconciliation/replay, statement isolation/prepared execution, and TLS startup cleanup regressions also passed 100 iterations under the race detector.
Merge Queue Status
This pull request spent 2 hours 17 minutes 21 seconds in the queue, with no time running CI. Waiting for
All conditions
ReasonThe merge conditions cannot be satisfied due to failing checks Failing checks: HintYou may have to fix your CI before adding the pull request to the queue again. Requeued — the merge queue status continues in this comment ↓. |
Merge Queue Status
This pull request spent 51 seconds in the queue, including 3 seconds running CI. Required conditions to merge
|
What type of PR is this?
Which issue(s) this PR fixes:
issue #26158
Part of #26154.
What this PR does / why we need it:
Completes the MatrixOne half of the opt-in Sirius Substrait execution path:
compileScope, binds durable GC-protectedTaeReadleases, and serves them over the existing strict mTLS resolver;MysqlResultSet.Datapath;The runtime is disabled by default and fails closed unless the CN is supplied a replayed, GC-protected lease manager and a durable resolve auditor.
Validation:
mo-cgo-test -count=1 ./pkg/sql/compile/sidecarflight ./pkg/sql/compile ./pkg/cnservice ./pkg/frontend ./pkg/sql/plan/substraitmo-cgo-test -race -count=1 -timeout=120s ./pkg/sql/compile/sidecarflight ./pkg/sql/plan/substraitmake err-check(production errors usemoerrand retain wrapped-cause identity)github.com/apache/arrow-goorgithub.com/apache/arrow/godependency