Skip to content

rabbit_stream_manager: Handle internal_error in stream declaration#15699

Merged
acogoluegnes merged 1 commit intomainfrom
md/stream-manager-internal-error
Mar 11, 2026
Merged

rabbit_stream_manager: Handle internal_error in stream declaration#15699
acogoluegnes merged 1 commit intomainfrom
md/stream-manager-internal-error

Conversation

@the-mikedavis
Copy link
Copy Markdown
Collaborator

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.

`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.
@the-mikedavis the-mikedavis self-assigned this Mar 11, 2026
@acogoluegnes acogoluegnes added this to the 4.3.0 milestone Mar 11, 2026
@acogoluegnes acogoluegnes merged commit 0b951b8 into main Mar 11, 2026
347 of 352 checks passed
@acogoluegnes acogoluegnes deleted the md/stream-manager-internal-error branch March 11, 2026 16:52
the-mikedavis added a commit that referenced this pull request Mar 11, 2026
rabbit_stream_manager: Handle internal_error in stream declaration (backport #15699)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants