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
7fae7013
Commit
7fae7013
authored
Mar 01, 2007
by
tomas@poseidon.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
parents
7e9ec9a1
1dfbc7c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
ndb/src/common/debugger/EventLogger.cpp
ndb/src/common/debugger/EventLogger.cpp
+1
-1
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+11
-4
No files found.
ndb/src/common/debugger/EventLogger.cpp
View file @
7fae7013
...
@@ -926,7 +926,7 @@ const EventLoggerBase::EventRepLogLevelMatrix EventLoggerBase::matrix[] = {
...
@@ -926,7 +926,7 @@ const EventLoggerBase::EventRepLogLevelMatrix EventLoggerBase::matrix[] = {
ROW
(
NDBStopCompleted
,
LogLevel
::
llStartUp
,
1
,
Logger
::
LL_INFO
),
ROW
(
NDBStopCompleted
,
LogLevel
::
llStartUp
,
1
,
Logger
::
LL_INFO
),
ROW
(
NDBStopForced
,
LogLevel
::
llStartUp
,
1
,
Logger
::
LL_ALERT
),
ROW
(
NDBStopForced
,
LogLevel
::
llStartUp
,
1
,
Logger
::
LL_ALERT
),
ROW
(
NDBStopAborted
,
LogLevel
::
llStartUp
,
1
,
Logger
::
LL_INFO
),
ROW
(
NDBStopAborted
,
LogLevel
::
llStartUp
,
1
,
Logger
::
LL_INFO
),
ROW
(
StartREDOLog
,
LogLevel
::
llStartUp
,
10
,
Logger
::
LL_INFO
),
ROW
(
StartREDOLog
,
LogLevel
::
llStartUp
,
4
,
Logger
::
LL_INFO
),
ROW
(
StartLog
,
LogLevel
::
llStartUp
,
10
,
Logger
::
LL_INFO
),
ROW
(
StartLog
,
LogLevel
::
llStartUp
,
10
,
Logger
::
LL_INFO
),
ROW
(
UNDORecordsExecuted
,
LogLevel
::
llStartUp
,
15
,
Logger
::
LL_INFO
),
ROW
(
UNDORecordsExecuted
,
LogLevel
::
llStartUp
,
15
,
Logger
::
LL_INFO
),
ROW
(
StartReport
,
LogLevel
::
llStartUp
,
4
,
Logger
::
LL_INFO
),
ROW
(
StartReport
,
LogLevel
::
llStartUp
,
4
,
Logger
::
LL_INFO
),
...
...
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
7fae7013
...
@@ -456,6 +456,7 @@ void Dblqh::execCONTINUEB(Signal* signal)
...
@@ -456,6 +456,7 @@ void Dblqh::execCONTINUEB(Signal* signal)
else
else
{
{
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
,
...
@@ -11672,7 +11673,7 @@ void Dblqh::execGCP_SAVEREQ(Signal* signal)
...
@@ -11672,7 +11673,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
;
...
@@ -11949,6 +11950,10 @@ void Dblqh::execFSCLOSECONF(Signal* signal)
...
@@ -11949,6 +11950,10 @@ void Dblqh::execFSCLOSECONF(Signal* signal)
// Set the prev file to check if we shall close it.
// Set the prev file to check if we shall close it.
logFilePtr
.
i
=
logFilePtr
.
p
->
prevLogFile
;
logFilePtr
.
i
=
logFilePtr
.
p
->
prevLogFile
;
ptrCheckGuard
(
logFilePtr
,
clogFileFileSize
,
logFileRecord
);
ptrCheckGuard
(
logFilePtr
,
clogFileFileSize
,
logFileRecord
);
logPartPtr
.
i
=
logFilePtr
.
p
->
logPartRec
;
ptrCheckGuard
(
logPartPtr
,
clogPartFileSize
,
logPartRecord
);
exitFromInvalidate
(
signal
);
exitFromInvalidate
(
signal
);
return
;
return
;
case
LogFileRecord
:
:
CLOSING_INIT
:
case
LogFileRecord
:
:
CLOSING_INIT
:
...
@@ -13817,7 +13822,7 @@ void Dblqh::srCompletedLab(Signal* signal)
...
@@ -13817,7 +13822,7 @@ void Dblqh::srCompletedLab(Signal* signal)
* NO MORE FRAGMENTS ARE WAITING FOR SYSTEM RESTART.
* NO MORE FRAGMENTS ARE WAITING FOR SYSTEM RESTART.
* -------------------------------------------------------------------- */
* -------------------------------------------------------------------- */
lcpPtr
.
p
->
lcpState
=
LcpRecord
::
LCP_IDLE
;
lcpPtr
.
p
->
lcpState
=
LcpRecord
::
LCP_IDLE
;
if
(
cstartRecReq
==
ZTRUE
)
{
if
(
cstartRecReq
==
1
)
{
jam
();
jam
();
/* ----------------------------------------------------------------
/* ----------------------------------------------------------------
* WE HAVE ALSO RECEIVED AN INDICATION THAT NO MORE FRAGMENTS
* WE HAVE ALSO RECEIVED AN INDICATION THAT NO MORE FRAGMENTS
...
@@ -13887,7 +13892,7 @@ void Dblqh::execSTART_RECREQ(Signal* signal)
...
@@ -13887,7 +13892,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
;
...
@@ -13908,6 +13913,7 @@ void Dblqh::execSTART_RECREQ(Signal* signal)
...
@@ -13908,6 +13913,7 @@ void Dblqh::execSTART_RECREQ(Signal* signal)
}
//if
}
//if
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
,
...
@@ -15728,6 +15734,7 @@ void Dblqh::srFourthComp(Signal* signal)
...
@@ -15728,6 +15734,7 @@ void Dblqh::srFourthComp(Signal* signal)
else
else
{
{
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
,
...
@@ -16694,7 +16701,7 @@ void Dblqh::initialiseRecordsLab(Signal* signal, Uint32 data,
...
@@ -16694,7 +16701,7 @@ void Dblqh::initialiseRecordsLab(Signal* signal, Uint32 data,
cCommitBlocked
=
false
;
cCommitBlocked
=
false
;
ccurrentGcprec
=
RNIL
;
ccurrentGcprec
=
RNIL
;
caddNodeState
=
ZFALSE
;
caddNodeState
=
ZFALSE
;
cstartRecReq
=
ZFALSE
;
cstartRecReq
=
0
;
cnewestGci
=
(
UintR
)
-
1
;
cnewestGci
=
(
UintR
)
-
1
;
cnewestCompletedGci
=
(
UintR
)
-
1
;
cnewestCompletedGci
=
(
UintR
)
-
1
;
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