[FIXED] Combined stream scale up/down and subjects/sources update#8003
[FIXED] Combined stream scale up/down and subjects/sources update#8003MauriceVanVeen wants to merge 3 commits intomainfrom
Conversation
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
|
Claude finished @MauriceVanVeen's task in 1m 55s —— View job PR Review
The fix is correct and minimal. Here's the analysis: Root cause: When scaling R1→R3 and updating subjects simultaneously, Why
Concurrency: The check is under Test: No issues found. LGTM. |
|
@claude, brief re-review please, but also take the scale down issue into account. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5f818f3a17
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
5f818f3 to
e916c63
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e916c63538
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
e916c63 to
e24271a
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e24271a6fc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
|
@claude, brief re-review please. |
A stream that was scaled up from R1 along with its subjects being updated would not subscribe to the new subjects. This PR fixes that by just subscribing to the new subjects when we were already actively subscribed to the others.
There was a similar issue where if a stream got scaled down to R1 but it wasn't the previous stream leader, the new server would not subscribe to any subjects or remove previous sources and require a restart.
Resolves #7996
Signed-off-by: Maurice van Veen github@mauricevanveen.com