zettadb / cluster_mgr

Clust_mgr is an important compnent of KunlunBase. It provides a HTTP API for KunlunBase users to do cluster management, provisioning and monitor work, so that uses can install a cluster, a kunlun-server node, a storage shard or a kunlun-storage node by calling such APIs. Such capability enables users to integrate KunlunBase management and provisioning as part of their existing application or GUIs. Cluster_mgr also provide other important cluster maintenance background work to make sure the KunlunBase clusters it serves can work efficiently and reliably.
http://www.kunlunbase.com
Apache License 2.0
10 stars 2 forks source link

Cluster_mgr 增加 raft 组成员及信息落盘 #69

Open jd-zhang opened 2 years ago

jd-zhang commented 2 years ago

Issue migrated from trac ticket # 694 www.kunlunbase.com

component: cluster manager | priority: major

2022-05-16 17:22:29: snow@zettadb.com created the issue


  1. 新增 cluster_mgr 组成员。
  2. 新增的 cluster_mgr raft 组成员的信息可以持久化在老组成员的配置文件中。

新增 extra.cnf 文件,与 cluster_mgr.cnf 相同路径。如果有新的 raft 组成员加入,则老主成员在收到相关消息后,讲新的组成员信息 flush 到 extra.cnf 中。每次进程重启,cluster_mgr 在重新加载配置文件的时候,需要一并加载 extar.cnf 中的信息。