zettadb / cloudnative

Apache License 2.0
0 stars 1 forks source link

Add extra config items into storage node installation config #8

Open jd-zhang opened 2 years ago

jd-zhang commented 2 years ago

Issue migrated from trac ticket # 295

component: cluster provision | priority: major

2021-12-14 10:07:56: @david-zhao created the issue


  1. The ro_weight and master_priority field is already defined in pg_shard_node and shard_nodes, but not provided in storage engine installation config template. We need to do so.

DBA can set the 2 fields optionally, to favor certain storage nodes for master election or replica reads.

Also, DBA GUI need to allow the 2 settings.

  1. Add computer server node id into the config file of computing nodes and storage nodes, and store it into shard_nodes.svr_node_id and comp_nodes.svr_node_id in metadata shard, and pg_cluster_meta_nodes.server_id, and pg_shard_node.svr_node_id field of computing nodes.
jd-zhang commented 2 years ago

2021-12-14 10:10:48: @david-zhao edited the issue description

jd-zhang commented 2 years ago

2021-12-14 10:10:48: @david-zhao

jd-zhang commented 2 years ago

2021-12-14 10:31:46: @david-zhao edited the issue description