You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by Haoran Meng <me...@gmail.com> on 2020/09/08 09:01:21 UTC

[DISCUSS] New data structure of config center for 5.x

Hi, community

 We consider optimizing the data structure of config center in the upcoming
release of 5.0.0-alpha [1],  the new structure is as follows :

├─orchestration-name
│   ├──authentication
│   ├──props
│   ├──schemas [${schema_1},${schema_2}]
│   │    ├──${schema_1}
│   │    │    ├──datasource
│   │    │    ├──rule
│   │    │    ├──table
│   │    ├──${schema_2}
│   │    │    ├──datasource
│   │    │    ├──rule
│   │    │    ├──table
│   │    ├──....
│   ├──state
│   │    ├──datanodes
│   │    │    ├──${schema_1}
│   │    │    │    ├──${datasource_1}[DISABLED]
│   │    │    │    ├──${datasource_2}[DISABLED]
│   │    │    ├──${schema_2}
│   │    │    ├──....
│   │    ├──proxynodes
│   │    │    ├──${IP1@PID1@UUID}
│   │    │    ├──${IP2@PID2@UUID}
│   │    │    ├──....

[1] https://github.com/apache/shardingsphere/issues/7325

**welcome your discussion!**

-- 
Haoran Meng
menghaoranss@gmail.com

Re:[DISCUSS] New data structure of config center for 5.x

Posted by Zonglei Dong <do...@apache.org>.
Hi Haoran,


What’s the difference between the old and new data structure, This is not described in the email.


I suggest if we want to modify the data structure, we should have detail description for the modification point, 


and convenient for everyone to understand the optimization content.


Thanks!


Zonglei Dong
Apache ShardingSphere


On 09/8/2020 17:01,Haoran Meng<me...@gmail.com> wrote:
Hi, community

We consider optimizing the data structure of config center in the upcoming
release of 5.0.0-alpha [1],  the new structure is as follows :

├─orchestration-name
│   ├──authentication
│   ├──props
│   ├──schemas [${schema_1},${schema_2}]
│   │    ├──${schema_1}
│   │    │    ├──datasource
│   │    │    ├──rule
│   │    │    ├──table
│   │    ├──${schema_2}
│   │    │    ├──datasource
│   │    │    ├──rule
│   │    │    ├──table
│   │    ├──....
│   ├──state
│   │    ├──datanodes
│   │    │    ├──${schema_1}
│   │    │    │    ├──${datasource_1}[DISABLED]
│   │    │    │    ├──${datasource_2}[DISABLED]
│   │    │    ├──${schema_2}
│   │    │    ├──....
│   │    ├──proxynodes
│   │    │    ├──${IP1@PID1@UUID}
│   │    │    ├──${IP2@PID2@UUID}
│   │    │    ├──....

[1] https://github.com/apache/shardingsphere/issues/7325

**welcome your discussion!**

--
Haoran Meng
menghaoranss@gmail.com