Skip to content

[FIXED] Deny stream/consumer updates if all peers offline #6856

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 2, 2025

Conversation

MauriceVanVeen
Copy link
Member

A stream/consumer update would be allowed even if all peers are offline. For example:

  • create R1 stream/consumer
  • shutdown the server hosting it
  • update to R3

That would result in data loss, because only the offline server will have the data. So deny the update request until there's at least one online peer.

Signed-off-by: Maurice van Veen [email protected]

@MauriceVanVeen MauriceVanVeen requested a review from a team as a code owner May 1, 2025 10:24
Copy link
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@neilalexander neilalexander merged commit 04c089c into main May 2, 2025
46 checks passed
@neilalexander neilalexander deleted the maurice/offline-r1-update branch May 2, 2025 13:12
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.

2 participants