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 2020/02/25 10:19:22 UTC
[GitHub] [incubator-shardingsphere] KomachiSion commented on issue #4028: If
not hint values are set what's the routing behavior for HintShardingAlgorithm
KomachiSion commented on issue #4028: If not hint values are set what's the routing behavior for HintShardingAlgorithm
URL: https://github.com/apache/incubator-shardingsphere/issues/4028#issuecomment-590792353
Hi @lightyear007, There are two possible behavior for none-values hint strategy.
1. If the tables in your SQL is not a sharding table( which means you do not configure it in shardingRule), the SQL will be routed to your defaultDatasource. What's more, the defaultDatasource also miss, the SQL will be routed to one random datasource.
2. If the tables in your SQL is a sharding table, the SQL will be full-routed to all dataNodes you configured.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services