Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak consumer replica scaling (#4404)
This should hopefully catch some consumer scaling situations more reliably, including cases where the consumer filter subjects no longer match those of the stream after being scaled down to R1 or after a cluster restart. I've also added a test to test whether filtered consumers will scale properly even when the stream subject orphans them. Signed-off-by: Neil Twigg <neil@nats.io>
- Loading branch information
Showing
4 changed files
with
50 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters