| 1 |
!include include/default_mysqld.cnf |
| 2 |
#include include/default_ndbd.cnf |
| 3 |
|
| 4 |
#To test multi-tc take over in various manners we create one node with a TC that |
| 5 |
#has only 1 TC but have more transactions that can be handled in one go by the |
| 6 |
#takeover TC. The other node have both multiple TCs and also more operations than |
| 7 |
#can be handled in one go. So it has to both handle each TC takeover instance in |
| 8 |
#multiple steps and it has to handle multiple instances. |
| 9 |
|
| 10 |
[cluster_config.1] |
| 11 |
MaxNoOfConcurrentTransactions= 100 |
| 12 |
MaxNoOfConcurrentOperations= 200 |
| 13 |
MaxNoOfLocalOperations= 10000 |
| 14 |
NoOfReplicas= 2 |
| 15 |
ThreadConfig=main={count=1},tc={count=1},ldm={count=4},io={count=1},rep={count=1},recv={count=2},send={count=2} |
| 16 |
Checksum=1 |
| 17 |
|
| 18 |
ndbd=,,, |
| 19 |
ndb_mgmd= |
| 20 |
mysqld= |
| 21 |
ndbapi= |
| 22 |
|
| 23 |
[cluster_config.mysqld.1.1] |
| 24 |
NodeId=49 |
| 25 |
Dedicated=1 |
| 26 |
|
| 27 |
[mysqld] |
| 28 |
ndbcluster |
| 29 |
|
| 30 |
[mysqld.1.1] |
| 31 |
ndb-nodeid=49 |
| 32 |
|
| 33 |
[cluster_config.ndbd.2.1] |
| 34 |
MaxNoOfConcurrentOperations=1000 |
| 35 |
MaxNoOfConcurrentTransactions=500 |
| 36 |
|
| 37 |
[cluster_config.ndbd.4.1] |
| 38 |
MaxNoOfConcurrentOperations=1000 |
| 39 |
ThreadConfig=main={count=1},tc={count=4},ldm={count=4},io={count=1},rep={count=1},recv={count=2},send={count=2} |
| 40 |
|
| 41 |
[ENV] |
| 42 |
NDB_CONNECTSTRING=@mysql_cluster.1.ndb_connectstring |
| 43 |
# Use the multithreaded scheduler whenever available |
| 44 |
MTR_NDBMTD= 1 |