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 mode is mgr ,add shards failed #7

Closed jd-zhang closed 2 years ago

jd-zhang commented 2 years ago

Issue migrated from trac ticket # 382

component: cluster manager | priority: minor | resolution: fixed

2022-01-04 18:21:24: hellen@zettadb.com created the issue


when cluster mode is mgr, add shards API add shards failed
cluster info: { "ver":"0.1", "job_id":"202112291450", "job_type":"create_cluster", "shards":"2", "nodes":"3", "comps":"1", "ha_mode":"mgr", "max_storage_size":"20", "max_connections":"6", "cpu_cores":"8", "innodb_size":"4" } payload of add shards: { "ver":"0.1", "job_id":"202112291450", "job_type":"add_shards", "cluster_name":cluster_name, "shards":"1" }

jd-zhang commented 2 years ago

2022-01-13 11:01:08: hellen@zettadb.com edited the issue description

jd-zhang commented 2 years ago

2022-03-22 10:37:45: @chaojie1979 commented


安装集群的信息被清除,导致后来增加分片找不到集群信息,后面把集群信息放在元数据表,解决这个问题

jd-zhang commented 2 years ago

2022-03-22 10:37:45: @chaojie1979 set resolution to fixed

jd-zhang commented 2 years ago

2022-03-22 10:37:45: @chaojie1979 changed status from assigned to closed