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 2019/07/05 09:39:58 UTC

[GitHub] [incubator-shardingsphere] lalicw edited a comment on issue #2657: one sharding database is down will cause the whole sharding data source can not be inited

lalicw edited a comment on issue #2657: one sharding database is down will cause the whole sharding data source can not be inited
URL: https://github.com/apache/incubator-shardingsphere/issues/2657#issuecomment-508699204
 
 
   can we just do not get connection when we init the sharding data source,  or we can lazy init the sharding data source when we invoke get connection method of sharding data source (like druid data source, if we set InitialSize= 0, it will not actual init connections, and init the druid data source when we invoke get connection method ), after we create the sharding data source,  any request to that one sharding database which is down throw exception, but the request the the other database is ok.

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