baomidou / dynamic-datasource

dynamic datasource for springboot 多数据源 动态数据源 主从分离 读写分离 分布式事务
https://www.kancloud.cn/tracy5546/dynamic-datasource/2264611
Apache License 2.0
4.75k stars 1.19k forks source link

Whether the load balancer switches the data source once per connection or once per transaction #472

Closed Hans-Wu-cn closed 1 year ago

Hans-Wu-cn commented 1 year ago

Please fill it out carefully, or it will be closed. 请认真填写,不然会直接关闭。

Enviroment

JDK Version(required): 17 SpringBoot Version(required): 2.6.9 dynamic-datasource-spring-boot-starter Version(required): 3.5.0 druid Version(optional): 1.1.12

Whether the load balancer switches the data source once per connection or once per transaction 请问负载均衡是每次连接切换一次数据源还是每个事务切换一次

huayanYu commented 1 year ago

just try