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

[GitHub] [shardingsphere] Pace2Car commented on issue #24752: Improve properties verification of ReadQueryLoadBalanceAlgorithm

Pace2Car commented on issue #24752:
URL: https://github.com/apache/shardingsphere/issues/24752#issuecomment-1498426932

   > Hi, does my pull request satisfy the demand? hopes have some suggestions.
   
   Hi @QiangYuan0828, Thanks for your PR, but it seems that these checks are unnecessary in your PR, The target described in the main issue(#24746) is to improve the properties verification in the `init` method.
   
   For example, in `WeightReadQueryLoadBalanceAlgorithm.init()`, the data sources must not be empty, and the weight of data source must be configured
   
   BTW: use `ShardingSpherePreconditions.checkState` like other checks do.


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