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
372cbc1d
Commit
372cbc1d
authored
Jan 19, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#19645
fix some more sp100 hang cases
parent
31824a13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
+5
-0
storage/ndb/src/kernel/blocks/suma/Suma.cpp
storage/ndb/src/kernel/blocks/suma/Suma.cpp
+29
-0
No files found.
storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
View file @
372cbc1d
...
@@ -2456,7 +2456,12 @@ void Qmgr::execAPI_FAILREQ(Signal* signal)
...
@@ -2456,7 +2456,12 @@ void Qmgr::execAPI_FAILREQ(Signal* signal)
// ignore if api not active
// ignore if api not active
if
(
failedNodePtr
.
p
->
phase
!=
ZAPI_ACTIVE
)
if
(
failedNodePtr
.
p
->
phase
!=
ZAPI_ACTIVE
)
{
jam
();
// But send to SUMA anyway...
sendSignal
(
SUMA_REF
,
GSN_API_FAILREQ
,
signal
,
2
,
JBA
);
return
;
return
;
}
signal
->
theData
[
0
]
=
NDB_LE_Disconnected
;
signal
->
theData
[
0
]
=
NDB_LE_Disconnected
;
signal
->
theData
[
1
]
=
failedNodePtr
.
i
;
signal
->
theData
[
1
]
=
failedNodePtr
.
i
;
...
...
storage/ndb/src/kernel/blocks/suma/Suma.cpp
View file @
372cbc1d
...
@@ -319,6 +319,12 @@ Suma::execSTTOR(Signal* signal) {
...
@@ -319,6 +319,12 @@ Suma::execSTTOR(Signal* signal) {
createSequence
(
signal
);
createSequence
(
signal
);
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
//if
}
//if
if
(
ERROR_INSERTED
(
13030
))
{
ndbout_c
(
"Dont start handover"
);
return
;
}
}
//if
}
//if
if
(
startphase
==
100
)
if
(
startphase
==
100
)
...
@@ -564,6 +570,15 @@ void Suma::execAPI_FAILREQ(Signal* signal)
...
@@ -564,6 +570,15 @@ void Suma::execAPI_FAILREQ(Signal* signal)
Uint32
failedApiNode
=
signal
->
theData
[
0
];
Uint32
failedApiNode
=
signal
->
theData
[
0
];
//BlockReference retRef = signal->theData[1];
//BlockReference retRef = signal->theData[1];
if
(
c_startup
.
m_restart_server_node_id
&&
c_startup
.
m_restart_server_node_id
!=
RNIL
)
{
jam
();
sendSignalWithDelay
(
reference
(),
GSN_API_FAILREQ
,
signal
,
200
,
signal
->
getLength
());
return
;
}
c_failedApiNodes
.
set
(
failedApiNode
);
c_failedApiNodes
.
set
(
failedApiNode
);
c_connected_nodes
.
clear
(
failedApiNode
);
c_connected_nodes
.
clear
(
failedApiNode
);
bool
found
=
removeSubscribersOnNode
(
signal
,
failedApiNode
);
bool
found
=
removeSubscribersOnNode
(
signal
,
failedApiNode
);
...
@@ -912,6 +927,20 @@ Suma::execDUMP_STATE_ORD(Signal* signal){
...
@@ -912,6 +927,20 @@ Suma::execDUMP_STATE_ORD(Signal* signal){
{
{
CLEAR_ERROR_INSERT_VALUE
;
CLEAR_ERROR_INSERT_VALUE
;
}
}
if
(
tCase
==
8009
)
{
if
(
ERROR_INSERTED
(
13030
))
{
CLEAR_ERROR_INSERT_VALUE
;
sendSTTORRY
(
signal
);
}
else
{
SET_ERROR_INSERT_VALUE
(
13030
);
}
return
;
}
}
}
/*************************************************************
/*************************************************************
...
...
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