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/12/16 03:00:22 UTC

[GitHub] [shardingsphere] tristaZero commented on issue #8625: Does replica-query data-source-name must be same as primary-data-source-name ?

tristaZero commented on issue #8625:
URL: https://github.com/apache/shardingsphere/issues/8625#issuecomment-745731536


   Hi @huanghao495430759 ,
   
   If you use `sharding` and `replica` feature together, it is necessary to configure `sharding Rule` with `replica-query data-source-name`. The reason is that `sharding rule` will regard `replica-query dataName` as a regular `dataName` without caring about query executed on replica or primary.
   


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