You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "zhaojinchao95 (via GitHub)" <gi...@apache.org> on 2023/04/04 05:39:16 UTC

[GitHub] [shardingsphere] zhaojinchao95 opened a new issue, #25002: Consider refactor readwrite-splitting configuration

zhaojinchao95 opened a new issue, #25002:
URL: https://github.com/apache/shardingsphere/issues/25002

   Hi community,
   
     Now,  we are consider simplify readwrite-splitting api, because because we removed db-discovery feature not long ago. We don't need to divide staticStrategy anymore.
   
   Before adjustment :
   
   ```
   rules:
   - !READWRITE_SPLITTING
     dataSources:
       readwrite_ds:
         staticStrategy:
           writeDataSourceName: primary_ds
           readDataSourceNames:
             - replica_ds_0
             - replica_ds_1
         loadBalancerName: random
     loadBalancers:
       random:
         type: RANDOM
   ```
   
   After adjustment:
   
   ```
   rules:
   - !READWRITE_SPLITTING
     dataSources:
       readwrite_ds:
         writeDataSourceName: primary_ds
         readDataSourceNames:
             - replica_ds_0
             - replica_ds_1
       loadBalancerName: random
     loadBalancers:
       random:
         type: RANDOM
   ```
   .
   


-- 
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.apache.org

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


[GitHub] [shardingsphere] github-actions[bot] commented on issue #25002: Consider refactor readwrite-splitting configuration

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #25002:
URL: https://github.com/apache/shardingsphere/issues/25002#issuecomment-1657254366

   There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.


-- 
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] boyjoy1127 commented on issue #25002: Consider refactor readwrite-splitting configuration

Posted by "boyjoy1127 (via GitHub)" <gi...@apache.org>.
boyjoy1127 commented on issue #25002:
URL: https://github.com/apache/shardingsphere/issues/25002#issuecomment-1585969535

   Will this issue be completed before June 15 which is the final date of version 5.4.0?


-- 
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] zhaojinchao95 closed issue #25002: Consider refactor readwrite-splitting configuration

Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 closed issue #25002: Consider refactor readwrite-splitting configuration
URL: https://github.com/apache/shardingsphere/issues/25002


-- 
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