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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
96075f47
Commit
96075f47
authored
Mar 31, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#16447
correct return value in check_cm_cmregreq
parent
aa43e56b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
+8
-2
ndb/test/src/NdbRestarts.cpp
ndb/test/src/NdbRestarts.cpp
+1
-2
No files found.
ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
View file @
96075f47
...
@@ -848,10 +848,12 @@ Qmgr::check_cmregreq_reply(Signal* signal, Uint32 nodeId, Uint32 gsn)
...
@@ -848,10 +848,12 @@ Qmgr::check_cmregreq_reply(Signal* signal, Uint32 nodeId, Uint32 gsn)
goto
die_direct
;
goto
die_direct
;
}
}
return
fals
e
;
return
tru
e
;
die_direct:
die_direct:
ndbout_c
(
buf
);
ndbout_c
(
buf
);
CRASH_INSERTION
(
932
);
progError
(
__LINE__
,
progError
(
__LINE__
,
ERR_ARBIT_SHUTDOWN
,
ERR_ARBIT_SHUTDOWN
,
buf
);
buf
);
...
@@ -2082,9 +2084,13 @@ void Qmgr::execDISCONNECT_REP(Signal* signal)
...
@@ -2082,9 +2084,13 @@ void Qmgr::execDISCONNECT_REP(Signal* signal)
case
ZFAIL_CLOSING
:
case
ZFAIL_CLOSING
:
case
ZAPI_ACTIVE
:
case
ZAPI_ACTIVE
:
case
ZAPI_INACTIVE
:
case
ZAPI_INACTIVE
:
{
char
buf
[
100
];
BaseString
::
snprintf
(
buf
,
100
,
"Node %u disconected"
,
nodeId
);
progError
(
__LINE__
,
ERR_SR_OTHERNODEFAILED
,
buf
);
ndbrequire
(
false
);
ndbrequire
(
false
);
}
}
}
node_failed
(
signal
,
nodeId
);
node_failed
(
signal
,
nodeId
);
}
//DISCONNECT_REP
}
//DISCONNECT_REP
...
...
ndb/test/src/NdbRestarts.cpp
View file @
96075f47
...
@@ -445,8 +445,7 @@ int twoNodeFailure(NdbRestarter& _restarter,
...
@@ -445,8 +445,7 @@ int twoNodeFailure(NdbRestarter& _restarter,
<<
") secs "
<<
endl
;
<<
") secs "
<<
endl
;
NdbSleep_SecSleep
(
seconds
);
NdbSleep_SecSleep
(
seconds
);
randomId
=
(
rand
()
%
_restarter
.
getNumDbNodes
());
nodeId
=
_restarter
.
getRandomNodeOtherNodeGroup
(
nodeId
,
rand
());
nodeId
=
_restarter
.
getDbNodeId
(
randomId
);
g_info
<<
_restart
->
m_name
<<
": node = "
<<
nodeId
<<
endl
;
g_info
<<
_restart
->
m_name
<<
": node = "
<<
nodeId
<<
endl
;
CHECK
(
_restarter
.
insertErrorInNode
(
nodeId
,
9999
)
==
0
,
CHECK
(
_restarter
.
insertErrorInNode
(
nodeId
,
9999
)
==
0
,
...
...
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