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
9370d6a3
Commit
9370d6a3
authored
Feb 22, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#26481 - fix of bug fix 5.0 version
parent
990a505d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+7
-4
No files found.
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
9370d6a3
...
...
@@ -457,6 +457,7 @@ void Dblqh::execCONTINUEB(Signal* signal)
else
{
jam
();
cstartRecReq
=
2
;
StartRecConf
*
conf
=
(
StartRecConf
*
)
signal
->
getDataPtrSend
();
conf
->
startingNodeId
=
getOwnNodeId
();
sendSignal
(
cmasterDihBlockref
,
GSN_START_RECCONF
,
signal
,
...
...
@@ -11673,7 +11674,7 @@ void Dblqh::execGCP_SAVEREQ(Signal* signal)
return
;
}
if
(
getNodeState
().
getNodeRestartInProgress
()
&&
cstartRecReq
==
ZFALSE
)
if
(
getNodeState
().
getNodeRestartInProgress
()
&&
cstartRecReq
<
2
)
{
GCPSaveRef
*
const
saveRef
=
(
GCPSaveRef
*
)
&
signal
->
theData
[
0
];
saveRef
->
dihPtr
=
dihPtr
;
...
...
@@ -13822,7 +13823,7 @@ void Dblqh::srCompletedLab(Signal* signal)
* NO MORE FRAGMENTS ARE WAITING FOR SYSTEM RESTART.
* -------------------------------------------------------------------- */
lcpPtr
.
p
->
lcpState
=
LcpRecord
::
LCP_IDLE
;
if
(
cstartRecReq
==
ZTRUE
)
{
if
(
cstartRecReq
==
1
)
{
jam
();
/* ----------------------------------------------------------------
* WE HAVE ALSO RECEIVED AN INDICATION THAT NO MORE FRAGMENTS
...
...
@@ -13892,7 +13893,7 @@ void Dblqh::execSTART_RECREQ(Signal* signal)
ndbrequire
(
req
->
receivingNodeId
==
cownNodeid
);
cnewestCompletedGci
=
cnewestGci
;
cstartRecReq
=
ZTRUE
;
cstartRecReq
=
1
;
for
(
logPartPtr
.
i
=
0
;
logPartPtr
.
i
<
4
;
logPartPtr
.
i
++
)
{
ptrAss
(
logPartPtr
,
logPartRecord
);
logPartPtr
.
p
->
logPartNewestCompletedGCI
=
cnewestCompletedGci
;
...
...
@@ -13913,6 +13914,7 @@ void Dblqh::execSTART_RECREQ(Signal* signal)
}
//if
if
(
cstartType
==
NodeState
::
ST_INITIAL_NODE_RESTART
){
jam
();
cstartRecReq
=
2
;
StartRecConf
*
conf
=
(
StartRecConf
*
)
signal
->
getDataPtrSend
();
conf
->
startingNodeId
=
getOwnNodeId
();
sendSignal
(
cmasterDihBlockref
,
GSN_START_RECCONF
,
signal
,
...
...
@@ -15733,6 +15735,7 @@ void Dblqh::srFourthComp(Signal* signal)
else
{
jam
();
cstartRecReq
=
2
;
StartRecConf
*
conf
=
(
StartRecConf
*
)
signal
->
getDataPtrSend
();
conf
->
startingNodeId
=
getOwnNodeId
();
sendSignal
(
cmasterDihBlockref
,
GSN_START_RECCONF
,
signal
,
...
...
@@ -16699,7 +16702,7 @@ void Dblqh::initialiseRecordsLab(Signal* signal, Uint32 data,
cCommitBlocked
=
false
;
ccurrentGcprec
=
RNIL
;
caddNodeState
=
ZFALSE
;
cstartRecReq
=
ZFALSE
;
cstartRecReq
=
0
;
cnewestGci
=
(
UintR
)
-
1
;
cnewestCompletedGci
=
(
UintR
)
-
1
;
crestartOldestGci
=
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