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
af76e150
Commit
af76e150
authored
Jul 03, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
parents
a3c733c3
b940b92e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+23
-4
No files found.
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
af76e150
...
...
@@ -11794,6 +11794,13 @@ void Dblqh::sendLCP_COMPLETE_REP(Signal* signal, Uint32 lcpId)
jam
();
sendEMPTY_LCP_CONF
(
signal
,
true
);
}
if
(
getNodeState
().
getNodeRestartInProgress
())
{
jam
();
ndbrequire
(
cstartRecReq
==
2
);
cstartRecReq
=
3
;
}
return
;
}
//Dblqh::sendCOMP_LCP_ROUND()
...
...
@@ -12064,15 +12071,27 @@ void Dblqh::execGCP_SAVEREQ(Signal* signal)
}
//if
ndbrequire
(
ccurrentGcprec
==
RNIL
);
ccurrentGcprec
=
0
;
gcpPtr
.
i
=
ccurrentGcprec
;
ptrCheckGuard
(
gcpPtr
,
cgcprecFileSize
,
gcpRecord
);
cnewestCompletedGci
=
gci
;
if
(
gci
>
cnewestGci
)
{
jam
();
cnewestGci
=
gci
;
}
//if
if
(
getNodeState
().
getNodeRestartInProgress
()
&&
cstartRecReq
<
3
)
{
GCPSaveRef
*
const
saveRef
=
(
GCPSaveRef
*
)
&
signal
->
theData
[
0
];
saveRef
->
dihPtr
=
dihPtr
;
saveRef
->
nodeId
=
getOwnNodeId
();
saveRef
->
gci
=
gci
;
saveRef
->
errorCode
=
GCPSaveRef
::
NodeRestartInProgress
;
sendSignal
(
dihBlockRef
,
GSN_GCP_SAVEREF
,
signal
,
GCPSaveRef
::
SignalLength
,
JBB
);
return
;
}
ccurrentGcprec
=
0
;
gcpPtr
.
i
=
ccurrentGcprec
;
ptrCheckGuard
(
gcpPtr
,
cgcprecFileSize
,
gcpRecord
);
gcpPtr
.
p
->
gcpBlockref
=
dihBlockRef
;
gcpPtr
.
p
->
gcpUserptr
=
dihPtr
;
...
...
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