File tree Expand file tree Collapse file tree 2 files changed +39
-5
lines changed
storage/ndb/test/run-test Expand file tree Collapse file tree 2 files changed +39
-5
lines changed Original file line number Diff line number Diff line change 26
26
# #############
27
27
28
28
save_args=$*
29
- VERSION=" autotest-run.sh version 1.14 "
29
+ VERSION=" autotest-run.sh version 1.15 "
30
30
31
31
DATE=` date ' +%Y-%m-%d' `
32
32
if [ ` uname -s` != " SunOS" ]
85
85
--baseport=* ) baseport_arg=" $1 " ;;
86
86
--base-dir=* ) base_dir=` echo $1 | sed s/--base-dir=//` ;;
87
87
--clusters=* ) clusters_arg=" $1 " ;;
88
+ --atrt-defaults-group-suffix=* )
89
+ atrt_defaults_group_suffix_arg=" ${1/# --atrt-/ --} "
90
+ ;;
88
91
--site=* ) site_arg=" $1 " ;;
89
92
esac
90
93
shift
@@ -361,11 +364,11 @@ if [ ${verbose} -gt 0 ] ; then
361
364
fi
362
365
363
366
# Setup configuration
364
- $atrt Cdq ${site_arg} ${clusters_arg} ${verbose_arg} $prefix my.cnf
367
+ $atrt ${atrt_defaults_group_suffix_arg} Cdq ${site_arg} ${clusters_arg} ${verbose_arg} $prefix my.cnf
365
368
366
369
# Start...
367
- args=" "
368
- args=" --report-file=report.txt"
370
+ args=" ${atrt_defaults_group_suffix_arg} "
371
+ args=" $args --report-file=report.txt"
369
372
args=" $args --log-file=log.txt"
370
373
args=" $args --testcase-file=$test_dir /$RUN -tests.txt"
371
374
args=" $args ${baseport_arg} "
Original file line number Diff line number Diff line change @@ -18,13 +18,44 @@ basedir = CHOOSE_dir
18
18
fix-nodeid = 1
19
19
mt = 2
20
20
21
+ [atrt.2ndbd]
22
+ mt = 0
23
+
21
24
[ndb_mgmd]
22
25
23
26
[client]
24
27
protocol =tcp
25
28
26
29
#
27
- # .2node
30
+ # .2ndbd - two ndbd nodes
31
+ #
32
+
33
+ [cluster_config.2ndbd]
34
+ ndb_mgmd = CHOOSE_host1
35
+ ndbd = CHOOSE_host2,CHOOSE_host3
36
+ ndbapi = CHOOSE_host1,CHOOSE_host4,CHOOSE_host5
37
+
38
+ NoOfReplicas = 2
39
+ DataMemory = 400M
40
+ BackupMemory = 64M
41
+ MaxNoOfConcurrentScans = 100
42
+ MaxNoOfSavedMessages = 5
43
+ SendBufferMemory = 2M
44
+ NoOfFragmentLogFiles = 4
45
+ FragmentLogFileSize = 128M
46
+ CompressedLCP =1
47
+ CompressedBackup =1
48
+ ODirect =1
49
+ MaxNoOfAttributes =2000
50
+ Checksum =1
51
+
52
+ SharedGlobalMemory =256M
53
+ InitialLogfileGroup =undo_buffer_size =64M; undofile01.dat:512M;undofile02.dat:512M
54
+ InitialTablespace =datafile01.dat:128M; datafile02.dat:64M
55
+ TimeBetweenWatchDogCheckInitial =60000
56
+
57
+ #
58
+ # .2node - two ndbmtd nodes
28
59
#
29
60
30
61
[cluster_config.2node]
You can’t perform that action at this time.
0 commit comments