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

node type arbiter? #100

Open
tamalsaha opened this issue Sep 13, 2023 · 2 comments
Open

node type arbiter? #100

tamalsaha opened this issue Sep 13, 2023 · 2 comments

Comments

@tamalsaha
Copy link

tamalsaha commented Sep 13, 2023

Is it possible to use this raft library to introduce members which will only participate in voting but will never become leader? The use case for such arbiter nodes is to facilitate quorum but also potentially optimizes other resources (such as disk space etc.) for a large db.

Thanks

@joshuazh-x
Copy link
Contributor

So far this is not supported in raft. However, I wonder if you can try some workaround such as setting the follower-only node's election timeout to a practical infinite number. I did not try that before, but it might work.

@visit1985
Copy link

At least in etcd, the upper limit of election timeout is 50000ms (50s).

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

3 participants