Skip to content

rabbit_stream_manager: Handle internal_error in stream declaration (backport #15699)#15702

Merged
the-mikedavis merged 1 commit intov4.2.xfrom
mergify/bp/v4.2.x/pr-15699
Mar 11, 2026
Merged

rabbit_stream_manager: Handle internal_error in stream declaration (backport #15699)#15702
the-mikedavis merged 1 commit intov4.2.xfrom
mergify/bp/v4.2.x/pr-15699

Conversation

@mergify
Copy link
Copy Markdown

@mergify mergify bot commented Mar 11, 2026

rabbit_stream_queue:declare/2 may fail to declare if the metadata store operation(s) time out, like when the cluster has a minority of online nodes. This would cause a case_clause error in rabbit_stream_manager:do_create_stream/4. We can print a warning log and return {error, internal_error} instead.


This is an automatic backport of pull request #15699 done by Mergify.

`rabbit_stream_queue:declare/2` may fail to declare if the metadata
store operation(s) time out, like when the cluster has a minority of
online nodes. This would cause a case_clause error in
`rabbit_stream_manager:do_create_stream/4`. We can print a warning
log and return `{error, internal_error}` instead.

(cherry picked from commit d9350fe)
@the-mikedavis the-mikedavis added this to the 4.2.5 milestone Mar 11, 2026
@the-mikedavis the-mikedavis merged commit 91596cf into v4.2.x Mar 11, 2026
582 of 583 checks passed
@the-mikedavis the-mikedavis deleted the mergify/bp/v4.2.x/pr-15699 branch March 11, 2026 18:18
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.

1 participant