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
gRPC insertStream keeps processing after a commit failure and mis-indexes the error #4806
Affected version: 26.6.1 Component:ArcadeDbGrpcService.insertStream (onNext) / insertRows Severity: MEDIUM
Summary
When a chunk insert throws (e.g. a PER_BATCHflushCommit failure), the
exception is recorded against a single (context-wide) row index and the finally
keeps pulling more chunks against a context whose transaction may now be rolled
back / inconsistent.
Code
ArcadeDbGrpcService.java:1638-1646 (catch records one err; finallycall.request(1)), :2336-2342 (flushCommit inside insertRows).
Impact
A mid-stream commit failure does not stop the stream; subsequent rows operate on a
broken transaction state and the error is attributed to the wrong row.
Suggested fix
On a DB/commit exception, fail via resp.onError or mark the context dead and
reject further chunks; reset transaction state before continuing.
Activity
fix(#4806): roll back the in-flight transaction on a mid-stream failu…
fix(#4806): keep insertStream summary consistent and dedupe error cla…
fix(#4806): distinct CONTRACT_VIOLATION code, drop risky onCompleted …
fix(#4806): stop gRPC insertStream after a mid-stream commit failure …
fix(#4806): roll back the in-flight transaction on a mid-stream failu…
fix(#4806): keep insertStream summary consistent and dedupe error cla…
fix(#4806): distinct CONTRACT_VIOLATION code, drop risky onCompleted …
fix(#4806): stop gRPC insertStream after a mid-stream commit failure …
fix(#4806): stop gRPC insertStream after a mid-stream commit failure …