Skip to content

statement-store: Stop panicking on affinity updates when the statement protocol is disabled - #3334

Merged
AndreiEres merged 4 commits into
mainfrom
ae-statement-affinity-panic
Aug 10, 2026
Merged

statement-store: Stop panicking on affinity updates when the statement protocol is disabled#3334
AndreiEres merged 4 commits into
mainfrom
ae-statement-affinity-panic

Conversation

@AndreiEres

@AndreiEres AndreiEres commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Calling statement_subscribeStatement on a chain that runs without the statement protocol panics: inserting the subscription schedules a topic-affinity update, and the scheduler expects the protocol config to be present. The scheduler now returns early instead — subscriptions can still be created in that case, and there is no affinity to advertise.

@AndreiEres AndreiEres changed the title Stop panicking on affinity updates when the statement protocol is disabled statement-store: Stop panicking on affinity updates when the statement protocol is disabled Aug 7, 2026
@AndreiEres
AndreiEres requested a review from a team August 7, 2026 14:29
Comment thread light-base/src/json_rpc_service/background.rs Outdated
@michalkucharczyk
michalkucharczyk requested a review from a team August 7, 2026 14:37
AndreiEres and others added 2 commits August 7, 2026 16:38
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
@AndreiEres
AndreiEres enabled auto-merge (squash) August 7, 2026 14:39
@AndreiEres
AndreiEres merged commit 73d765a into main Aug 10, 2026
39 checks passed
@AndreiEres
AndreiEres deleted the ae-statement-affinity-panic branch August 10, 2026 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants