Skip to content
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

[FIXED] Scaling up an R1 stream would not replicate existing messages. #2958

Merged
merged 2 commits into from
Mar 28, 2022

Conversation

derekcollison
Copy link
Member

Also fixed a bug where we were incorrectly not spinning up the monitoring loop for a stream when going from 3->1->3.

Signed-off-by: Derek Collison derek@nats.io

Resolves #2955

/cc @nats-io/core

…isting messages were not being replicated.

Also fixed a bug where we were incorrectly not spining up the monitoring loop for a stream when going from 3->1->3.

Signed-off-by: Derek Collison <derek@nats.io>
server/jetstream_cluster.go Show resolved Hide resolved
server/jetstream_cluster_test.go Outdated Show resolved Hide resolved
server/jetstream_cluster_test.go Outdated Show resolved Hide resolved
Signed-off-by: Derek Collison <derek@nats.io>
Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

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

LGTM

@derekcollison derekcollison merged commit 004e5ce into main Mar 28, 2022
@derekcollison derekcollison deleted the fix_2955 branch March 28, 2022 19: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.

upgrading a stream's replication factor is not working
2 participants