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

Looking for support to propose node state changes #23

Open
pycaster opened this issue May 3, 2021 · 3 comments
Open

Looking for support to propose node state changes #23

pycaster opened this issue May 3, 2021 · 3 comments

Comments

@pycaster
Copy link

pycaster commented May 3, 2021

Hi,

Thanks for providing graft. I like how simple graft is to use and understand. I was able to accomplish what I was looking for with graft so far, simple leader election. But then I realized that I might need a way to propose node state change. Are there any plans for it or is there an alternative pkg in nats-io that I can look at?

Thank you.

@derekcollison
Copy link
Member

No plans at the moment, but since the server know has a proper RAFT impl for clustered JetStream we have been thinking through how to possibly surface some for applications.

What is the use case you are using graft for?

@pycaster
Copy link
Author

pycaster commented May 4, 2021

I was looking for couple of things to begin with,

  1. Leader election itself
  2. Control which node can be leader in the cluster during startup of the cluster.

Thanks.

@derekcollison
Copy link
Member

Could probably add preferred option.

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

No branches or pull requests

2 participants