Skip to content

adapter: make duplicate end_statement_execution a soft panic#36968

Merged
ggevay merged 1 commit into
MaterializeInc:mainfrom
ggevay:statement-logging-double-end-soft-panic
Jun 11, 2026
Merged

adapter: make duplicate end_statement_execution a soft panic#36968
ggevay merged 1 commit into
MaterializeInc:mainfrom
ggevay:statement-logging-double-end-soft-panic

Conversation

@ggevay

@ggevay ggevay commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Ending the same statement execution twice indicates a bug, but panicking on it aborts the whole environmentd process, turning a statement-logging bookkeeping error into an outage. Report it with soft_panic_or_log instead and keep the first end: still a hard panic in CI and debug builds, an error log in production.

Mitigates #incident-1070 before the proper fixes land (#36943 and/or #36956).

Ending the same statement execution twice indicates a bug, but panicking
on it aborts the whole environmentd process, turning a statement-logging
bookkeeping error into an outage. Report it with soft_panic_or_log
instead and keep the first end: still a hard panic in CI and debug
builds, an error log in production.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ggevay ggevay requested a review from aljoscha June 10, 2026 17:19
@ggevay ggevay requested a review from a team as a code owner June 10, 2026 17:19
@ggevay ggevay added the A-ADAPTER Topics related to the ADAPTER layer label Jun 10, 2026
@ggevay ggevay merged commit 8f6821e into MaterializeInc:main Jun 11, 2026
118 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ADAPTER Topics related to the ADAPTER layer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants