zettadb / cloudnative

Apache License 2.0
0 stars 1 forks source link

maintain ha mode in db_clusters during kunlun cluster installation #89

Closed jd-zhang closed 3 years ago

jd-zhang commented 3 years ago

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

component: cluster provision | priority: major | resolution: fixed

2021-09-22 16:28:56: zhaowei@zettadb.com created the issue


maintain ha mode in db_clusters during kunlun cluster installation, including one-stroke installation and create_cluster.py and maintain ha mode in db_clusters during kunlun cluster installation scripts in computing node.

store user sepcified HA mode for the kunlun cluster into db_clusters.ha_mode.

possible values: for no mgr mode: 'no_rep' for mgr mode: 'mgr' add another mode 'rbr' in installation script for future use and now simply store it into db_clusters.ha_mode.

this is required to keep cluster_mgr working.

jd-zhang commented 3 years ago

2021-09-22 16:29:23: zhaowei@zettadb.com changed component from computing nodes to cluster provision

jd-zhang commented 3 years ago

2021-09-22 16:34:46: zhaowei@zettadb.com edited the issue description

jd-zhang commented 3 years ago

2021-09-22 16:35:58: zhaowei@zettadb.com edited the issue description

jd-zhang commented 3 years ago

2021-11-04 14:39:14: zhangjindong@zettadb.com commented


The code in storage/kunlu has been finished by David. The code in cluter_manager has been done by Chaojie. The code in installation's has been done by Winter. So this is done, close this SR.

jd-zhang commented 3 years ago

2021-11-04 14:39:14: zhangjindong@zettadb.com set resolution to fixed

jd-zhang commented 3 years ago

2021-11-04 14:39:14: zhangjindong@zettadb.com changed status from assigned to closed