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 2021/09/02 08:42:16 UTC
[GitHub] [shardingsphere] RaigorJiang edited a comment on issue #12158: Can READ/write separation feature add a configuration to allow inconsistent read?
RaigorJiang edited a comment on issue #12158:
URL: https://github.com/apache/shardingsphere/issues/12158#issuecomment-911375198
Hello everyone,
I have thought of a few more configuration plans, which may be better than what I said before.
In general, put the new configuration into the readwrite-splitting rule:
1. Plan A
```
# default value is false
shardingsphere.rules.readwrite-splitting.consistency-enabled=true
```
2. Plan B
```
# default value is false
shardingsphere.rules.readwrite-splitting.strong-consistency=true
```
3. Plan C
```
# default value is standard
shardingsphere.rules.readwrite-splitting.router-mode=standard
shardingsphere.rules.readwrite-splitting.router-mode=consistency
```
I think plan A will be better, so I will start with it.
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org