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
dadfd054
Commit
dadfd054
authored
Jul 12, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - gcp stop bug#9961 more printouts
parent
7efa714f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
17 deletions
+40
-17
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
+18
-0
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+22
-17
No files found.
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
View file @
dadfd054
...
...
@@ -10316,6 +10316,24 @@ void Dbdih::crashSystemAtGcpStop(Signal* signal)
break
;
}
ndbout_c
(
"c_copyGCISlave: sender{Data, Ref} %d %x reason: %d nextWord: %d"
,
c_copyGCISlave
.
m_senderData
,
c_copyGCISlave
.
m_senderRef
,
c_copyGCISlave
.
m_copyReason
,
c_copyGCISlave
.
m_expectedNextWord
);
FileRecordPtr
file0Ptr
;
file0Ptr
.
i
=
crestartInfoFile
[
0
];
ptrCheckGuard
(
file0Ptr
,
cfileFileSize
,
fileRecord
);
FileRecordPtr
file1Ptr
;
file1Ptr
.
i
=
crestartInfoFile
[
1
];
ptrCheckGuard
(
file1Ptr
,
cfileFileSize
,
fileRecord
);
ndbout_c
(
"file[0] status: %d type: %d reqStatus: %d file1: %d %d %d"
,
file0Ptr
.
p
->
fileStatus
,
file0Ptr
.
p
->
fileType
,
file0Ptr
.
p
->
reqStatus
,
file1Ptr
.
p
->
fileStatus
,
file1Ptr
.
p
->
fileType
,
file1Ptr
.
p
->
reqStatus
);
ndbout_c
(
"c_COPY_GCIREQ_Counter = %s"
,
c_COPY_GCIREQ_Counter
.
getText
());
ndbout_c
(
"c_COPY_TABREQ_Counter = %s"
,
...
...
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
dadfd054
...
...
@@ -18555,15 +18555,16 @@ Dblqh::execDUMP_STATE_ORD(Signal* signal)
{
logPartPtr
.
i
=
i
;
ptrCheckGuard
(
logPartPtr
,
clogPartFileSize
,
logPartRecord
);
ndbout_c
(
"LP %d state: %d WW_Gci: %d gcprec: %d flq: %d currfile: %d tailFileNo: %d"
,
i
,
logPartPtr
.
p
->
logPartState
,
logPartPtr
.
p
->
waitWriteGciLog
,
logPartPtr
.
p
->
gcprec
,
logPartPtr
.
p
->
firstLogQueue
,
logPartPtr
.
p
->
currentLogfile
,
logPartPtr
.
p
->
logTailFileNo
);
ndbout_c
(
"LP %d state: %d WW_Gci: %d gcprec: %d flq: %d currfile: %d tailFileNo: %d logTailMbyte: %d"
,
i
,
logPartPtr
.
p
->
logPartState
,
logPartPtr
.
p
->
waitWriteGciLog
,
logPartPtr
.
p
->
gcprec
,
logPartPtr
.
p
->
firstLogQueue
,
logPartPtr
.
p
->
currentLogfile
,
logPartPtr
.
p
->
logTailFileNo
,
logPartPtr
.
p
->
logTailMbyte
);
if
(
gcp
.
i
==
RNIL
&&
logPartPtr
.
p
->
gcprec
!=
RNIL
)
gcp
.
i
=
logPartPtr
.
p
->
gcprec
;
...
...
@@ -18572,11 +18573,13 @@ Dblqh::execDUMP_STATE_ORD(Signal* signal)
do
{
ptrCheckGuard
(
logFilePtr
,
clogFileFileSize
,
logFileRecord
);
ndbout_c
(
" file %d(%d) FileChangeState: %d logFileStatus: %d"
,
logFilePtr
.
p
->
fileNo
,
logFilePtr
.
i
,
logFilePtr
.
p
->
fileChangeState
,
logFilePtr
.
p
->
logFileStatus
);
ndbout_c
(
" file %d(%d) FileChangeState: %d logFileStatus: %d currentMbyte: %d currentFilepage"
,
logFilePtr
.
p
->
fileNo
,
logFilePtr
.
i
,
logFilePtr
.
p
->
fileChangeState
,
logFilePtr
.
p
->
logFileStatus
,
logFilePtr
.
p
->
currentMbyte
,
logFilePtr
.
p
->
currentFilepage
);
logFilePtr
.
i
=
logFilePtr
.
p
->
nextLogFile
;
}
while
(
logFilePtr
.
i
!=
first
);
}
...
...
@@ -18586,9 +18589,11 @@ Dblqh::execDUMP_STATE_ORD(Signal* signal)
ptrCheckGuard
(
gcp
,
cgcprecFileSize
,
gcpRecord
);
for
(
i
=
0
;
i
<
4
;
i
++
)
{
ndbout_c
(
" GCP %d file: %d state: %d sync: %d"
,
i
,
gcp
.
p
->
gcpFilePtr
[
i
],
gcp
.
p
->
gcpLogPartState
[
i
],
gcp
.
p
->
gcpSyncReady
[
i
]);
ndbout_c
(
" GCP %d file: %d state: %d sync: %d page: %d word: %d"
,
i
,
gcp
.
p
->
gcpFilePtr
[
i
],
gcp
.
p
->
gcpLogPartState
[
i
],
gcp
.
p
->
gcpSyncReady
[
i
],
gcp
.
p
->
gcpPageNo
[
i
],
gcp
.
p
->
gcpWordNo
[
i
]);
}
}
...
...
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