Is it possible to merge read-write rule and discovery rule #13308
Replies: 3 comments
-
@terrymanu @tristaZero @menghaoranss @strongduanmu Hi, we can discuss it together! |
Beta Was this translation helpful? Give feedback.
-
@ZjcNB I like this suggestion because |
Beta Was this translation helpful? Give feedback.
-
After discussion, maybe some users will use the discovery module for strong data consistency, so let's continue to keep it. |
Beta Was this translation helpful? Give feedback.
-
Hi community,
When i test use High availability MGR. It doesn't work well, i execute read or write operation,it always choose primary datasources. I see source code found it
Then, I try to use High availability MGR with ReadWriteRules. It's work well, my configuration is:
Through the MGR we know which one are primary datasource (writeDataSourceName) and other slave datasources (readDataSourceNames), So, i think
- !READWRITE_SPLITTING
and- !DB_DISCOVERY
should be merged, and let DB_DISCOVERY be an augmented version of READWRITEBeta Was this translation helpful? Give feedback.
All reactions