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
(1105) context canceled — 1 hit on the same template
Same template succeeds in 24/34 runs in the same suite, so this is intermittent and not a SQL syntax/schema error. Client timeout is 1800s; these are not client timeouts.
20503 and 1105 here look like two client-visible faces of the same failure (pipeline/stream torn down → query context canceled).
Case files under mo-nightly-regression: tools/mo-regression-test/cases/jinpan_001/join/j_batch_{020,023,034,035,046}.sql
After each failure, the next SQL in the same session often succeeds immediately (cluster not fully dead).
Repro SQL (q0385)
WITH w AS (
WITH RECURSIVE acct_tree AS (
SELECT cpmb_kgd4b76 AS node_id, parenth1 AS parent_id, 0AS lvl
FROMdwd_dcp.dwd_bw_1cpmb_bkgd4b76WHERE cpmb_kgd4b76 ='200000'UNION ALLSELECTc.cpmb_kgd4b76, c.parenth1, t.lvl+1FROMdwd_dcp.dwd_bw_1cpmb_bkgd4b76 c
INNER JOIN acct_tree t ONc.parenth1=t.node_idWHEREt.lvl<3
)
SELECT
CONCAT(b.belnr, '-', b.bukrs, '-', b.gjahr) AS voucher_header_id,
b.belnr, b.bukrs, b.gjahr, b.bldat,
s.buzei, s.hkont, s.dmbtr, s.zuonr,
t.node_idAS acct_node, t.lvl,
pd.payment_typeFROMdwd_dcp.dwd_s4_bkpf b
INNER JOINdwd_dcp.dwd_s4_bseg s ONb.bukrs=s.bukrsANDb.belnr=s.belnrANDb.gjahr=s.gjahrINNER JOIN acct_tree t ONs.hkont=t.node_idLEFT JOINjst_receipts_tables.payment_details pd
ONpd.belnr=b.belnrANDpd.bukrs=b.bukrsANDpd.gjahr=b.gjahrWHEREb.gjahr='2024'ANDs.dmbtr<>0ANDb.bukrsIN ('2000', '3000')
ANDb.belnr>='8'ANDb.belnr<'9'LIMIT2000
)
SELECT*FROM w
WHERE1=1LIMIT50;
Other hits are the same shape; only recursive root (100000/200000/600000), lvl bound, company-code / belnr filters, and outer LIMIT vary.
Why this looks like an MO bug (not case)
Error is engine ErrStreamClosed / canceled context, not parser/schema.
Same template succeeds most of the time in the same run → intermittent engine/pipeline path.
Failures cluster on WITH RECURSIVE + large fact joins (bkpf/bseg).
Fail in 1–3s under 1800s client timeout → not harness timeout.
Different SQL (multi-CTE invoice ↔ acdoca/bseg, no recursive CTE). Same error class; unclear if same root cause — include for correlation only.
Also seen in same suite (separate)
HashJoin nil panic on bill_collection_p4: #25802 — different stack/template; do not merge unless investigation proves shared cause.
Expected
Query completes (rows or empty set) without ErrStreamClosed / unexpected context canceled. If the CN aborts, the client error should surface the underlying panic/error, not only stream closed.
Summary
In jinpan_001 Fact+Dim join regression, several
payment_details_treequeries fail within 1–3 seconds with:(20503) rpc stream closed(ErrStreamClosed) — 4 hits(1105) context canceled— 1 hit on the same templateSame template succeeds in 24/34 runs in the same suite, so this is intermittent and not a SQL syntax/schema error. Client timeout is 1800s; these are not client timeouts.
20503and1105here look like two client-visible faces of the same failure (pipeline/stream torn down → query context canceled).Environment
f8aaa25e670d0936b14602becd70d5966b1a87a1(jinpan-f8aaa25)big_data_jinpanHits (same template family)
q0385_payment_details_tree(20503) rpc stream closedq0447_payment_details_tree(20503) rpc stream closedq0664_payment_details_tree(20503) rpc stream closedq0911_payment_details_tree(20503) rpc stream closedq0695_payment_details_tree(1105) context canceledCase files under
mo-nightly-regression:tools/mo-regression-test/cases/jinpan_001/join/j_batch_{020,023,034,035,046}.sqlAfter each failure, the next SQL in the same session often succeeds immediately (cluster not fully dead).
Repro SQL (q0385)
Other hits are the same shape; only recursive root (
100000/200000/600000),lvlbound, company-code / belnr filters, and outerLIMITvary.Why this looks like an MO bug (not case)
ErrStreamClosed/ canceled context, not parser/schema.WITH RECURSIVE+ large fact joins (bkpf/bseg).disable-stream-reuse/ prior commit.Related but uncertain (appendix)
One additional hit in the same job:
q0190_invoice_acdoca_link(1105) context canceled(<1s)Different SQL (multi-CTE invoice ↔ acdoca/bseg, no recursive CTE). Same error class; unclear if same root cause — include for correlation only.
Also seen in same suite (separate)
HashJoin nil panic on
bill_collection_p4: #25802 — different stack/template; do not merge unless investigation proves shared cause.Expected
Query completes (rows or empty set) without
ErrStreamClosed/ unexpectedcontext canceled. If the CN aborts, the client error should surface the underlying panic/error, not only stream closed.