13:56:47 qwe maxscale[12932]: Working directory: /var/log/maxscaleMar 4 13:56:47 qwe maxscale[12932]: MaxScale is running in process 12932
Mar 4 13:56:47 qwe maxscale/log/maxscal
单机版MaxScale工作正常。我使用这个link来测试它。但是当我使用Maxscale运行Spring Boot Data JPA时,SELECT查询会发送到Master。启用事务时,Maxscale将查询发送到Master。我在MaxScale上配置了readwrite和read only服务,尝试使用Spring的"RoutingDataSource“。