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
6cb19a62
Commit
6cb19a62
authored
Feb 22, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
parents
01e4bc50
7766171b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+7
-4
No files found.
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
6cb19a62
...
@@ -441,6 +441,7 @@ void Dblqh::execCONTINUEB(Signal* signal)
...
@@ -441,6 +441,7 @@ void Dblqh::execCONTINUEB(Signal* signal)
else
else
{
{
jam
();
jam
();
cstartRecReq
=
2
;
ndbrequire
(
c_redo_complete_fragments
.
isEmpty
());
ndbrequire
(
c_redo_complete_fragments
.
isEmpty
());
StartRecConf
*
conf
=
(
StartRecConf
*
)
signal
->
getDataPtrSend
();
StartRecConf
*
conf
=
(
StartRecConf
*
)
signal
->
getDataPtrSend
();
conf
->
startingNodeId
=
getOwnNodeId
();
conf
->
startingNodeId
=
getOwnNodeId
();
...
@@ -11939,7 +11940,7 @@ void Dblqh::execGCP_SAVEREQ(Signal* signal)
...
@@ -11939,7 +11940,7 @@ void Dblqh::execGCP_SAVEREQ(Signal* signal)
return
;
return
;
}
}
if
(
getNodeState
().
getNodeRestartInProgress
()
&&
cstartRecReq
==
ZFALSE
)
if
(
getNodeState
().
getNodeRestartInProgress
()
&&
cstartRecReq
<
2
)
{
{
GCPSaveRef
*
const
saveRef
=
(
GCPSaveRef
*
)
&
signal
->
theData
[
0
];
GCPSaveRef
*
const
saveRef
=
(
GCPSaveRef
*
)
&
signal
->
theData
[
0
];
saveRef
->
dihPtr
=
dihPtr
;
saveRef
->
dihPtr
=
dihPtr
;
...
@@ -14024,7 +14025,7 @@ void Dblqh::execRESTORE_LCP_CONF(Signal* signal)
...
@@ -14024,7 +14025,7 @@ void Dblqh::execRESTORE_LCP_CONF(Signal* signal)
return
;
return
;
}
}
if
(
c_lcp_restoring_fragments
.
isEmpty
()
&&
cstartRecReq
==
ZTRUE
)
if
(
c_lcp_restoring_fragments
.
isEmpty
()
&&
cstartRecReq
==
1
)
{
{
jam
();
jam
();
/* ----------------------------------------------------------------
/* ----------------------------------------------------------------
...
@@ -14065,7 +14066,7 @@ void Dblqh::execSTART_RECREQ(Signal* signal)
...
@@ -14065,7 +14066,7 @@ void Dblqh::execSTART_RECREQ(Signal* signal)
ndbrequire
(
req
->
receivingNodeId
==
cownNodeid
);
ndbrequire
(
req
->
receivingNodeId
==
cownNodeid
);
cnewestCompletedGci
=
cnewestGci
;
cnewestCompletedGci
=
cnewestGci
;
cstartRecReq
=
ZTRUE
;
cstartRecReq
=
1
;
for
(
logPartPtr
.
i
=
0
;
logPartPtr
.
i
<
4
;
logPartPtr
.
i
++
)
{
for
(
logPartPtr
.
i
=
0
;
logPartPtr
.
i
<
4
;
logPartPtr
.
i
++
)
{
ptrAss
(
logPartPtr
,
logPartRecord
);
ptrAss
(
logPartPtr
,
logPartRecord
);
logPartPtr
.
p
->
logPartNewestCompletedGCI
=
cnewestCompletedGci
;
logPartPtr
.
p
->
logPartNewestCompletedGCI
=
cnewestCompletedGci
;
...
@@ -14079,6 +14080,7 @@ void Dblqh::execSTART_RECREQ(Signal* signal)
...
@@ -14079,6 +14080,7 @@ void Dblqh::execSTART_RECREQ(Signal* signal)
*------------------------------------------------------------------------ */
*------------------------------------------------------------------------ */
if
(
cstartType
==
NodeState
::
ST_INITIAL_NODE_RESTART
){
if
(
cstartType
==
NodeState
::
ST_INITIAL_NODE_RESTART
){
jam
();
jam
();
cstartRecReq
=
2
;
StartRecConf
*
conf
=
(
StartRecConf
*
)
signal
->
getDataPtrSend
();
StartRecConf
*
conf
=
(
StartRecConf
*
)
signal
->
getDataPtrSend
();
conf
->
startingNodeId
=
getOwnNodeId
();
conf
->
startingNodeId
=
getOwnNodeId
();
sendSignal
(
cmasterDihBlockref
,
GSN_START_RECCONF
,
signal
,
sendSignal
(
cmasterDihBlockref
,
GSN_START_RECCONF
,
signal
,
...
@@ -15900,6 +15902,7 @@ void Dblqh::srFourthComp(Signal* signal)
...
@@ -15900,6 +15902,7 @@ void Dblqh::srFourthComp(Signal* signal)
return
;
return
;
}
}
}
}
cstartRecReq
=
2
;
StartRecConf
*
conf
=
(
StartRecConf
*
)
signal
->
getDataPtrSend
();
StartRecConf
*
conf
=
(
StartRecConf
*
)
signal
->
getDataPtrSend
();
conf
->
startingNodeId
=
getOwnNodeId
();
conf
->
startingNodeId
=
getOwnNodeId
();
sendSignal
(
cmasterDihBlockref
,
GSN_START_RECCONF
,
signal
,
sendSignal
(
cmasterDihBlockref
,
GSN_START_RECCONF
,
signal
,
...
@@ -16768,7 +16771,7 @@ void Dblqh::initialiseRecordsLab(Signal* signal, Uint32 data,
...
@@ -16768,7 +16771,7 @@ void Dblqh::initialiseRecordsLab(Signal* signal, Uint32 data,
cnoActiveCopy
=
0
;
cnoActiveCopy
=
0
;
ccurrentGcprec
=
RNIL
;
ccurrentGcprec
=
RNIL
;
caddNodeState
=
ZFALSE
;
caddNodeState
=
ZFALSE
;
cstartRecReq
=
ZFALSE
;
cstartRecReq
=
0
;
cnewestGci
=
0
;
cnewestGci
=
0
;
cnewestCompletedGci
=
0
;
cnewestCompletedGci
=
0
;
crestartOldestGci
=
0
;
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