We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbc8a66 commit 542e71dCopy full SHA for 542e71d
src/main/resources/schema_template.xml
@@ -30,9 +30,8 @@
30
<dataNode name="dn2" dataHost="localhost1" database="db2"/>
31
<dataNode name="dn3" dataHost="localhost1" database="db3"/>
32
<dataNode name="dn4" dataHost="localhost1" database="db4"/>
33
- <dataHost name="localhost1" maxCon="1000" minCon="10" balance="0"
34
- writeType="0" switchType="1" slaveThreshold="100">
35
- <heartbeat>select user()</heartbeat>
+ <dataHost name="localhost1" maxCon="1000" minCon="10" balance="0" switchType="-1" slaveThreshold="100">
+ <heartbeat>show slave status</heartbeat>
36
<!-- can have multi write hosts -->
37
<writeHost host="hostM1" url="localhost:3306" user="root"
38
password="123456">
0 commit comments