4 ms·
Oh, the "getting a single node cluster" up and running was easy, as you said. It's just it wasn't clear from the initial docs I saw that a 3 -> 1 cluster would
by justinclift 4y ago
Oh, the "getting a single node cluster" up and running was easy, as you said.
It's just it wasn't clear from the initial docs I saw that a 3 -> 1 cluster would be considered any differently. Clearly, an error on my part. :)
I'll circle back to rqlite in a while, after I get this existing prototype code rolled out and see what people make of it. Hopefully it turns out to be useful for people.
- otoolep 4y agoYeah, going from 3->1 simply by taking down nodes won't work -- that's breaking quorum. If you really want to do this, you can explicitly override the configuration stored in Raft. Check out these directions: https://rqlite.io/docs/clustering/general-guidelines/#recovering-a-cluster-that-has-permanently-lost-quorum https://rqlite.io/docs/clustering/general-guidelines/#recove... While this talks about "dealing with failure" using the config file described above basically allows you to force the cluster into any configuration you want (including a single-node cluster).
- otoolep 4y agoI added a FAQ entry which explains a little bit more what you can do: https://rqlite.io/docs/faq/#how-can-i-change-my-multi-node-cluster-to-a-single-node-system https://rqlite.io/docs/faq/#how-can-i-change-my-multi-node-c...
- justinclift 4y agoThanks, that should help anyone else following the same thought pattern I had. :)