You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/03/20 08:51:21 UTC

[GitHub] [shardingsphere] zjcnb opened a new issue #16217: Consider refactor Register center storage node structure

zjcnb opened a new issue #16217:
URL: https://github.com/apache/shardingsphere/issues/16217


   Hi community, 
   
   ### `Background`
   
   Please refer to : #15967 
   
      We want to persistence slave-database delay time to register center. So we can use `DistSQL` to show all slave-database delay time. And still have a question with the current  storage node structure, When we have two groups of the same rule names under one schema, we cannot distinguish which group of datasources are disabled. 
      So, we need to adjustment it.
   
   
   ### `Old structure`
   
   ```
   storage_nodes:
       disable: 
           readwrite_splitting_db.read_ds_0
   ```
   
   ### `New structure`
   
   ```
   storage_nodes:
       attributes:
           schema_1.logic_ds.ds_0:
                 role: primary
           schema_1.logic_ds.ds_1:
                 role: replication
                 status: enable
                 replication_delay_times: 1000
           schema_2.logic_ds.ds_0:
                 role: primary
           schema_2.logic_ds.ds_1:
                 role: replication
                 status: enable
                 replication_delay_times: 1000
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] RaigorJiang closed issue #16217: Consider refactor Register center storage node structure

Posted by GitBox <gi...@apache.org>.
RaigorJiang closed issue #16217:
URL: https://github.com/apache/shardingsphere/issues/16217


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] zjcnb closed issue #16217: Consider refactor Register center storage node structure

Posted by GitBox <gi...@apache.org>.
zjcnb closed issue #16217:
URL: https://github.com/apache/shardingsphere/issues/16217


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org