Skip to content

Commit 994bbcc

Browse files
committed
Bug#33789954 Add configuration for autotest up-/downgrade tests with ndbd
Change-Id: Ie29eb34a799a3128dae61dc6e9cb9039e870a318
1 parent 2d32929 commit 994bbcc

File tree

2 files changed

+45
-2
lines changed

2 files changed

+45
-2
lines changed

storage/ndb/test/run-test/conf-downgrade.cnf

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
22
#
33
# This program is free software; you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License as published by
@@ -19,6 +19,9 @@ fix-nodeid = 1
1919
mt = 2
2020
mysqld = CHOOSE_host1
2121

22+
[atrt.2ndbd2mgm]
23+
mt = 0
24+
2225
[ndb_mgmd]
2326

2427
[mysqld]
@@ -116,6 +119,24 @@ InitialLogfileGroup=undo_buffer_size=64M;undofile01.dat:512M;undofile02.dat:512M
116119
InitialTablespace=datafile01.dat:256M;datafile02.dat:256M
117120
TimeBetweenWatchDogCheckInitial=60000
118121

122+
#
123+
# .2ndbd2mgm
124+
#
125+
126+
[cluster_config.2ndbd2mgm]
127+
ndb_mgmd = CHOOSE_host1,CHOOSE_host6
128+
ndbd = CHOOSE_host2,CHOOSE_host3
129+
ndbapi= CHOOSE_host1,CHOOSE_host4,CHOOSE_host5
130+
131+
NoOfReplicas = 2
132+
IndexMemory = 50M
133+
DataMemory = 100M
134+
BackupMemory = 64M
135+
MaxNoOfConcurrentScans = 100
136+
MaxNoOfSavedMessages= 5
137+
NoOfFragmentLogFiles = 4
138+
FragmentLogFileSize = 64M
139+
119140
#
120141
# .2node2mgm
121142
#

storage/ndb/test/run-test/conf-upgrade.cnf

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
22
#
33
# This program is free software; you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License as published by
@@ -19,6 +19,9 @@ fix-nodeid = 1
1919
mt = 2
2020
mysqld = CHOOSE_host1
2121

22+
[atrt.2ndbd2mgm]
23+
mt = 0
24+
2225
[ndb_mgmd]
2326

2427
[mysqld]
@@ -118,6 +121,25 @@ InitialLogfileGroup=undo_buffer_size=64M;undofile01.dat:512M;undofile02.dat:512M
118121
InitialTablespace=datafile01.dat:256M;datafile02.dat:256M
119122
TimeBetweenWatchDogCheckInitial=60000
120123

124+
#
125+
# .2ndbd2mgm
126+
#
127+
128+
[cluster_config.2ndbd2mgm]
129+
ndb_mgmd = CHOOSE_host1,CHOOSE_host6
130+
ndbd = CHOOSE_host2,CHOOSE_host3
131+
ndbapi= CHOOSE_host1,CHOOSE_host4,CHOOSE_host5
132+
133+
NoOfReplicas = 2
134+
IndexMemory = 50M
135+
DataMemory = 100M
136+
BackupMemory = 64M
137+
MaxNoOfConcurrentScans = 100
138+
MaxNoOfSavedMessages= 5
139+
NoOfFragmentLogFiles = 4
140+
FragmentLogFileSize = 64M
141+
Checksum=1
142+
121143
#
122144
# .2node2mgm
123145
#

0 commit comments

Comments
 (0)