-
Notifications
You must be signed in to change notification settings - Fork 691
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
[Question] Clarification about starting a single-node cluster with raft-non-voter=true #1182
Comments
That's interesting, I would need to check. I don't think I've ever tested that scenario (since it shouldn't really be sensible). I can check in a few days, as I'm traveling at the moment. |
I looked at the code to refresh my memory. Operating as a "read-only node" (non-voting) is a cluster-joining -time thing. If you're not joining a cluster, and have no pre-existing state, the I think this is confusing, and if someone tries to launch a single-node system from scratch, but with |
2 similar comments
I looked at the code to refresh my memory. Operating as a "read-only node" (non-voting) is a cluster-joining -time thing. If you're not joining a cluster, and have no pre-existing state, the I think this is confusing, and if someone tries to launch a single-node system from scratch, but with |
I looked at the code to refresh my memory. Operating as a "read-only node" (non-voting) is a cluster-joining -time thing. If you're not joining a cluster, and have no pre-existing state, the I think this is confusing, and if someone tries to launch a single-node system from scratch, but with |
Oh ok, thanks for the enlightenment.
I believe the change makes sense. Since I opened this issue just as a question, should I close it? thanks one more time. |
I'll close it once I make the code change. |
|
I don't think this issue warrants an immediate release, so the change will be in the next release. Thanks for your help improving rqlite. |
That's great, my pleasure. Thanks for quickly tackling this case. |
Hi! I noticed that if I start a single-node cluster with raft-non-voter=true, the cluster starts appropriately electing the very same node, while I expect it not to work since I'm telling that the node is not a voter. Do you know if this is expected? Is it the 'raft-non-voter' argument being ignored since it would mean an invalid scenario?
This is what I executed in my machine:
.\rqlited.exe -node-id "testDatabase1" -http-addr "127.0.0.1:9501" -raft-addr "127.0.0.1:9502" -raft-non-voter=true testDatabase1
The text was updated successfully, but these errors were encountered: