{"repo":"apache/kvrocks-controller","free":true,"listed":false,"github":"https://github.com/apache/kvrocks-controller","clone":"git clone https://github.com/apache/kvrocks-controller.git","description":"Apache Kvrocks Controller is a cluster management tool for Apache Kvrocks.","language":"Go","stars":141,"topics":["cluster","controller","database","distributed","kvrocks","redis","redis-cluster"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Apache Kvrocks Controller Apache Kvrocks Controller is a cluster management tool for Apache Kvrocks, including the following key features: Failover - controller will failover or remove the master/slave node when probing failed Scale out the cluster in one line command Manage many clusters in one controller cluster Support multi metadata storages like etcd and so on Building and Running Build binaries Overview For the storage, the ETCD is used as the default storage now. Welcome to contribute other storages like MySQL, Redis, Consul and so on. And what you need to do is to implement the Engine interface. Supported Storage Engine - ETCD - Zookeeper - Consul by HashiCorp - Embedded Raft storage (experimental) Run the controller server Run the controller server in Docker Run server with the embedded Raft engine Note: The embedded Raft engine is still in the experimental stage, and it's not recommended to use it in the production environment. Change the storage type to raft in the configuration file. - id : the id for the raft node, it's also an index in the peers list - data dir : the directory to store the raft data - cluster state : the state of the raft cluster, it should be new when the cluster is initialized. And it should be existing when the cluster is already bootstrapped. - peers : the list of the raft peers, it should include all the nodes in the cluster. And then you can run the controller server with the configuration file. Add/Remove a raft peer node We now support a","default_branch":null,"files":null,"tree":[],"storefront":"/r/apache","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apache/kvrocks-controller/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}