Skip to content

Fixes for rescaling streams with sources#5428

Merged
derekcollison merged 6 commits intomainfrom
busy-stream-sources
May 16, 2024
Merged

Fixes for rescaling streams with sources#5428
derekcollison merged 6 commits intomainfrom
busy-stream-sources

Conversation

@wallyqs
Copy link
Copy Markdown
Member

@wallyqs wallyqs commented May 16, 2024

Includes improvements for streams rescaling:

  • When scaling up and down we keep same leader so no reason to tear everything down and then back up.
    We do make sure when we scale down to one to tear down cluster specific subs etc.

wallyqs and others added 6 commits May 16, 2024 07:01
Signed-off-by: Waldemar Quevedo <wally@nats.io>
Signed-off-by: Waldemar Quevedo <wally@nats.io>
Signed-off-by: Derek Collison <derek@nats.io>
…rything down and then back up.

We do make sure when we scale down to one to tear down cluster specific subs etc.

Signed-off-by: Derek Collison <derek@nats.io>
Signed-off-by: Derek Collison <derek@nats.io>
Signed-off-by: Waldemar Quevedo <wally@nats.io>
@wallyqs wallyqs requested a review from a team as a code owner May 16, 2024 14:13
Copy link
Copy Markdown
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

@derekcollison derekcollison merged commit 5e49c2a into main May 16, 2024
@derekcollison derekcollison deleted the busy-stream-sources branch May 16, 2024 14:53
neilalexander pushed a commit that referenced this pull request May 16, 2024
Includes improvements for streams rescaling:

- When scaling up and down we keep same leader so no reason to tear
everything down and then back up.
We do make sure when we scale down to one to tear down cluster specific
subs etc.

---------

Signed-off-by: Waldemar Quevedo <wally@nats.io>
Signed-off-by: Derek Collison <derek@nats.io>
Co-authored-by: Derek Collison <derek@nats.io>
wallyqs added a commit that referenced this pull request May 16, 2024
Includes improvements for streams rescaling:

- When scaling up and down we keep same leader so no reason to tear
everything down and then back up.
We do make sure when we scale down to one to tear down cluster specific
subs etc.

---------

Signed-off-by: Waldemar Quevedo <wally@nats.io>
Signed-off-by: Derek Collison <derek@nats.io>
Co-authored-by: Derek Collison <derek@nats.io>
neilalexander pushed a commit that referenced this pull request May 16, 2024
Includes improvements for streams rescaling:

- When scaling up and down we keep same leader so no reason to tear
everything down and then back up.
We do make sure when we scale down to one to tear down cluster specific
subs etc.

---------

Signed-off-by: Waldemar Quevedo <wally@nats.io>
Signed-off-by: Derek Collison <derek@nats.io>
Co-authored-by: Derek Collison <derek@nats.io>
neilalexander pushed a commit that referenced this pull request May 16, 2024
Includes improvements for streams rescaling:

- When scaling up and down we keep same leader so no reason to tear
everything down and then back up.
We do make sure when we scale down to one to tear down cluster specific
subs etc.

---------

Signed-off-by: Waldemar Quevedo <wally@nats.io>
Signed-off-by: Derek Collison <derek@nats.io>
Co-authored-by: Derek Collison <derek@nats.io>
neilalexander added a commit that referenced this pull request May 16, 2024
Includes the following:

* #5405
* #5406
* #5413
* #5419
* #5420
* #5426
* #5427
* #5428

Signed-off-by: Neil Twigg <neil@nats.io>
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.

3 participants