2021-12-14 10:07:56: @david-zhao created the issue
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.
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.
Issue migrated from trac ticket # 295
component: cluster provision | priority: major
2021-12-14 10:07:56: @david-zhao created the issue