RaigorJiang commented on issue #23421:
URL:
https://github.com/apache/shardingsphere/issues/23421#issuecomment-1375288688
Hi @Enternal-ZERO
I remember a scene related to #13375, pseudocode:
```java
public String fooQuery {
# insert a request log
statement.executeUpdate("xxx");
# do some business query
statement.executeQuery("xxx");
...
return result;
}
```
As above, if I have such a business scenario (record request log), then all
request threads are `MASTER_VISITED`, and no request will be routed to the read
data source. This violates the original intention of readwrite splitting.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]