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
a4570b09
Commit
a4570b09
authored
Jan 11, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix merge error
parent
546c2f50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
40 deletions
+2
-40
storage/ndb/test/ndbapi/testNodeRestart.cpp
storage/ndb/test/ndbapi/testNodeRestart.cpp
+2
-40
No files found.
storage/ndb/test/ndbapi/testNodeRestart.cpp
View file @
a4570b09
...
...
@@ -1003,6 +1003,8 @@ int runBug25364(NDBT_Context* ctx, NDBT_Step* step){
if
(
restarter
.
waitNodesStarted
(
nodes
,
2
))
return
NDBT_FAILED
;
}
return
NDBT_OK
;
}
int
...
...
@@ -1070,46 +1072,6 @@ runBug24543(NDBT_Context* ctx, NDBT_Step* step){
return
NDBT_OK
;
}
int
runBug25364
(
NDBT_Context
*
ctx
,
NDBT_Step
*
step
){
int
result
=
NDBT_OK
;
NdbRestarter
restarter
;
Ndb
*
pNdb
=
GETNDB
(
step
);
int
loops
=
ctx
->
getNumLoops
();
if
(
restarter
.
getNumDbNodes
()
<
4
)
return
NDBT_OK
;
int
val2
[]
=
{
DumpStateOrd
::
CmvmiSetRestartOnErrorInsert
,
1
};
for
(;
loops
;
loops
--
)
{
int
master
=
restarter
.
getMasterNodeId
();
int
victim
=
restarter
.
getRandomNodeOtherNodeGroup
(
master
,
rand
());
int
second
=
restarter
.
getRandomNodeSameNodeGroup
(
victim
,
rand
());
int
dump
[]
=
{
935
,
victim
}
;
if
(
restarter
.
dumpStateOneNode
(
master
,
dump
,
2
))
return
NDBT_FAILED
;
if
(
restarter
.
dumpStateOneNode
(
master
,
val2
,
2
))
return
NDBT_FAILED
;
if
(
restarter
.
restartOneDbNode
(
second
,
false
,
true
,
true
))
return
NDBT_FAILED
;
int
nodes
[
2
]
=
{
master
,
second
};
if
(
restarter
.
waitNodesNoStart
(
nodes
,
2
))
return
NDBT_FAILED
;
restarter
.
startNodes
(
nodes
,
2
);
if
(
restarter
.
waitNodesStarted
(
nodes
,
2
))
return
NDBT_FAILED
;
}
return
NDBT_OK
;
}
int
runBug25468
(
NDBT_Context
*
ctx
,
NDBT_Step
*
step
){
int
result
=
NDBT_OK
;
...
...
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