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

Stream and Consumer leader down placement hints #6243

Open
ripienaar opened this issue Dec 11, 2024 · 0 comments
Open

Stream and Consumer leader down placement hints #6243

ripienaar opened this issue Dec 11, 2024 · 0 comments
Assignees
Labels
proposal Enhancement idea or proposal

Comments

@ripienaar
Copy link
Contributor

Proposed change

Like io.nats.jetstream.api.v1.meta_leader_stepdown_request lets support placement hints for stream and consumer step down, hinting and who should be the next leader.

Use case

nats stream cluster balance attempts to balance all the stream leaderships in the cluster, does so by only picking the fewest streams to move and then initiate leader elections on them.

But since the outcome is random it's quite hard to make this work well, we'd like a hint to suggest the next leader node - if impossible normal placement to continue.

Contribution

No response

@ripienaar ripienaar added the proposal Enhancement idea or proposal label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Enhancement idea or proposal
Projects
None yet
Development

No branches or pull requests

2 participants