Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
21bfd984
Commit
21bfd984
authored
Aug 21, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - revert timeout changes, as a test depends on it, it mysterious ways
(mysql-test-run only)
parent
40754dd6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
mysql-test/ndb/ndb_config_1_node.ini
mysql-test/ndb/ndb_config_1_node.ini
+1
-1
mysql-test/ndb/ndb_config_2_node.ini
mysql-test/ndb/ndb_config_2_node.ini
+1
-1
mysql-test/ndb/ndb_config_4_node.ini
mysql-test/ndb/ndb_config_4_node.ini
+1
-1
mysql-test/t/rpl_ndb_basic.test
mysql-test/t/rpl_ndb_basic.test
+2
-2
No files found.
mysql-test/ndb/ndb_config_1_node.ini
View file @
21bfd984
...
@@ -17,7 +17,7 @@ DiskPageBufferMemory= CHOOSE_DiskPageBufferMemory
...
@@ -17,7 +17,7 @@ DiskPageBufferMemory= CHOOSE_DiskPageBufferMemory
# Increase deadlock-timeout to cater for slow test-machines
# Increase deadlock-timeout to cater for slow test-machines
# (possibly running several tests in parallell)
# (possibly running several tests in parallell)
#
#
TransactionDeadlockDetectionTimeout
=
7500
#
TransactionDeadlockDetectionTimeout= 7500
[ndbd]
[ndbd]
HostName
=
CHOOSE_HOSTNAME_1 # hostname is a valid network adress
HostName
=
CHOOSE_HOSTNAME_1 # hostname is a valid network adress
...
...
mysql-test/ndb/ndb_config_2_node.ini
View file @
21bfd984
...
@@ -20,7 +20,7 @@ InitialNoOfOpenFiles= 27
...
@@ -20,7 +20,7 @@ InitialNoOfOpenFiles= 27
# Increase deadlock-timeout to cater for slow test-machines
# Increase deadlock-timeout to cater for slow test-machines
# (possibly running several tests in parallell)
# (possibly running several tests in parallell)
#
#
TransactionDeadlockDetectionTimeout
=
7500
#
TransactionDeadlockDetectionTimeout= 7500
[ndbd]
[ndbd]
HostName
=
CHOOSE_HOSTNAME_1 # hostname is a valid network adress
HostName
=
CHOOSE_HOSTNAME_1 # hostname is a valid network adress
...
...
mysql-test/ndb/ndb_config_4_node.ini
View file @
21bfd984
...
@@ -17,7 +17,7 @@ DiskPageBufferMemory= CHOOSE_DiskPageBufferMemory
...
@@ -17,7 +17,7 @@ DiskPageBufferMemory= CHOOSE_DiskPageBufferMemory
# Increase deadlock-timeout to cater for slow test-machines
# Increase deadlock-timeout to cater for slow test-machines
# (possibly running several tests in parallell)
# (possibly running several tests in parallell)
#
#
TransactionDeadlockDetectionTimeout
=
7500
#
TransactionDeadlockDetectionTimeout= 7500
[ndbd]
[ndbd]
HostName
=
CHOOSE_HOSTNAME_1 # hostname is a valid network adress
HostName
=
CHOOSE_HOSTNAME_1 # hostname is a valid network adress
...
...
mysql-test/t/rpl_ndb_basic.test
View file @
21bfd984
...
@@ -116,7 +116,7 @@ UPDATE t1 SET `nom`="DEAD" WHERE `nid`=1;
...
@@ -116,7 +116,7 @@ UPDATE t1 SET `nom`="DEAD" WHERE `nid`=1;
# we do this 2 times, once with few retries to verify that we
# we do this 2 times, once with few retries to verify that we
# get a failure with the set sleep, and once with the _same_
# get a failure with the set sleep, and once with the _same_
# sleep, but with more retries to get it to succeed
# sleep, but with more retries to get it to succeed
--
sleep
1
5
--
sleep
5
# replication should have stopped, since max retries where not enough
# replication should have stopped, since max retries where not enough
# verify with show slave status
# verify with show slave status
...
@@ -131,7 +131,7 @@ set GLOBAL slave_transaction_retries=10;
...
@@ -131,7 +131,7 @@ set GLOBAL slave_transaction_retries=10;
START
SLAVE
;
START
SLAVE
;
# wait for deadlock to be detected and retried
# wait for deadlock to be detected and retried
# should be the same sleep as above for test to be valid
# should be the same sleep as above for test to be valid
--
sleep
1
5
--
sleep
5
# commit transaction to release lock on row and let replication succeed
# commit transaction to release lock on row and let replication succeed
select
*
from
t1
order
by
nid
;
select
*
from
t1
order
by
nid
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment